[cfe-dev] Changing Path to Linker in Clang

Tanya Lattner lattner at apple.com
Thu Aug 11 10:42:24 PDT 2011


On Aug 3, 2011, at 8:58 AM, John Criswell wrote:

> Dear All,
> 
> Is there a way to get a version of Clang which I am compiling to use a 
> specific path to ld?
> 

I believe the only way to do this is to actually change the hardcoded search path in the source. Things could have changed since I last looked though.

-Tanya


> I'm working on some enhancements to libLTO and don't want to replace the 
> one in /usr/lib.  I think if I can get Clang to use a different ld in a 
> different directory, then I can get it to use a different libLTO as well.
> 
> Thanks in advance,
> 
> -- John T.
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list