[GCC-4.5.2][Chapter 6.16]SEARCH_DIR show a wrong directory

bsquared bwcode4u at gmail.com
Fri Mar 25 14:51:59 PDT 2011


On Fri, Mar 25, 2011 at 1:23 PM, Kef <kephuro at gmail.com> wrote:
> Hi there !
> I am just compiling gcc 4.5.2 (chapter 6.16). Everything seems ok but
> at the end we have to type the following command to check if the
> linker is correclty configured :
>
> grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
>
> Here is my ouptut for this command :
> SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")
> SEARCH_DIR("/lib")
> SEARCH_DIR("/usr/lib");
>
> It should be :
> SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
> SEARCH_DIR("/usr/local/lib")
> SEARCH_DIR("/lib")
> SEARCH_DIR("/usr/lib")
>
> Is it a compilation problem or something else ?
>
> Every previous tests commands were ok, this is the first time that
> there is someting strange.
>
> Thanks a lot for your help,
> Julien
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>

I recently completed this chapter and I got the same output as listed
in the book.  You may want to double check the steps leading up to it,
it took me four attempts before I was able to catch an oversight.

-- 
Thank you,
-Brian



More information about the lfs-support mailing list