[cfe-dev] Adding -fuse-ld= support to clang

David Chisnall David.Chisnall at cl.cam.ac.uk
Sat May 18 14:39:06 PDT 2013


On 18 May 2013, at 11:59, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:

> Looks fairly reasonable, but
> * Instead of running touch, add the file to the install tree in svn.
> * Test both ld.name and ld-name.

Makes sense.

> * If there is both ld.name and ld-name, make sure and test we select
> the same one as gcc.

Can someone who doesn't mind going near GPLv3 code please tell me what GCC does in this case?  I have only looked at the documentation.  I believe that they just hard-code the names for ld.bfd and ld.gold, but I am not certain.

David





More information about the cfe-dev mailing list