[LLVMdev] Simple user question

Luke Dalessandro luked at cs.rochester.edu
Fri Jul 11 06:04:38 PDT 2008


Anton Korobeynikov wrote:
> Hello, Luke
> 
>> Is there any way to convince llvm-gcc to use llvm-ld during linking rather 
>> than the system ld? If there isn't then I'll have to muck with the build a bit 
>> more to add something like FINAL_CXX, but everyone will see that and it may 
>> generate a bit of annoyance (and will need to be another thing that is 
>> modified for our public releases).
> You can try to use llvmc2-provided facility to do so. Currently it
> cannot be used as llvm-ld replacement out-of-the-box, but can be easily
> modified to do so.

Thanks for the tip, I'll try and take a look at it. I've been trying to 
configure llvm-gcc with --with-ld=llvm-ld, but I can't seem to get it to 
compile on my system.

Luke




More information about the llvm-dev mailing list