[cfe-dev] Linker selection

Henry Miller hank at millerfarm.com
Sat Dec 15 06:45:21 PST 2012


On Saturday, December 15, 2012 00:35:38 Chandler Carruth wrote:


  1. If you say --link-with=/full/path/to/ld, we use that binary.



IMO, this should be sysroot-relative, not root relative. But I'm interested if 
others disagree, and why. I can imagine problems with it, but not how 
realistic such problems would be.

I do have some concerns with this, though I think this is the right default.  
I have a sysroot that is not fully setup.  There is a ld, but it doesn't run.  
There is probably an easy fix; but since the system ld works just fine (at 
least we have yet to have an unexplained bug),and is a newer version anyway we 
just use that.  Basically our target is x86 so there isn't any motivation to 
do more with sysroot than put the libraries that are different on the target.

Again, I think sysroot-relative is the right default.  Just give me 
	--the-guys-who-setup-sysroot-our-idiots-link-with=
as an alternative.  Or some variation, I'm color blind so it doesn't matter to 
me what shade you paint it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121215/c6fe1cb1/attachment.html>


More information about the cfe-dev mailing list