4

Following instructions from this site: http://llvm.org/docs/GoldPlugin.html

From the command:

../binutils/configure --enable-gold --enable-plugins --disable-werror

I get a warning saying:

configure: WARNING: unrecognized options: --enable-gold

From this point, I can't continue building the project. Any advise?

Wahyu Kristianto
  • 8,719
  • 6
  • 43
  • 68
drum
  • 5,416
  • 7
  • 57
  • 91

1 Answers1

4

Are you sure that you are in a sibling folder of binutils? I copied the command from the instructions but forgot that I was in a different directory and picked up a different configure script.

ine
  • 14,014
  • 8
  • 55
  • 80
  • 2
    Exactly what I needed. the problem was that I created a build directory within binutils and there is a binutils/binutils/configure as well which caused the error. Thanks. – A. K. Oct 08 '18 at 07:39