This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA/RFC: Enable both gold and ld in a single toolchain


On 16.03.2010 18:25, Nick Clifton wrote:
Hi H.J.

-fuse-ld is misleading. ld may be gold. How about
"-fuse-ld=[gold|bfd]" which
is consistent with linker names and configure options.

A good point. I have attached a revised patch with the option named as you suggest. I also omitted to include your name and Roland's in the ChangeLog entries, so I have updated those as well.

Any other issues with the patch ?

trying to use -fuse-ld=gold without having gold installed, prints:


  $ gcc -fuse-ld=gold main.c
  collect2: cannot find 'ld'

which may be misleading, only with -Wl,-debug collect2 is able to print the better diagnostic message. Maybe not worth for delaying the patch.

Matthias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]