<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Saturday, December 15, 2012 00:35:38 Chandler Carruth wrote:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'arial,helvetica,sans-serif'; font-size:10pt;"><br />  1. If you say --link-with=/full/path/to/ld, we use that binary.<br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'arial,helvetica,sans-serif'; font-size:10pt;"><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'arial,helvetica,sans-serif'; font-size:10pt;">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.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'arial,helvetica,sans-serif'; font-size:10pt;">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.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'arial,helvetica,sans-serif'; font-size:10pt;">Again, I think sysroot-relative is the right default.  Just give me </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'arial,helvetica,sans-serif'; font-size:10pt;">      --the-guys-who-setup-sysroot-our-idiots-link-with=</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'arial,helvetica,sans-serif'; font-size:10pt;">as an alternative.  Or some variation, I'm color blind so it doesn't matter to me what shade you paint it.</span></p></body></html>