<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>I am running the final gcc, not the native gcc from chapter 10. I have changed some of the directory names to match how our stuff is built.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>IE lib->lib32 etc.using –libdir arguments. This is using the V3.0 book.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>In our build, the check for a working gcc shows in the config.log that it is failing because ld can’t find crt1.o or crti.o.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>What I see is that crti.o and crt1.o are in /tools/libxx while the other crtxxx.o are in the gcc/4.8.3/ directory in /cross-tools where the linker is looking for them. Using strace I can see that gcc/collect2/ld is looking in /cross-tools and not at all in any /tools directory.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>I am trying to find out if my changes to the config lines is causing these files to be put in the wrong place or the SEARCH_DIR that ld is using is wrong.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>I can provide the changes to the config lines if that makes a difference <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>-Barry<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><p>CONFIDENTIALITY NOTICE: The information contained in this email message is intended only for use of the intended recipient. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately delete it from your system and notify the sender by replying to this email.  Thank you.</p></body></html>