On Mon, 19 Dec 2011 10:00:36 +0800
郭伟利 <[email protected]> wrote:

> Hi ! Friend on lfs!
> I am using lfs-7.0
> I find a question confused with me in (6.10. Re-adjusting the Toolchain )
> When "verify that the new linker is being used with the correct search paths"
> 
> the output is
>  "SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")
>   SEARCH_DIR("/usr/lib")
>   SEARCH_DIR("/lib");"
> 
> I think the right out should be "SEARCH_DIR("/usr/lib")
> SEARCH_DIR("/lib");" without
> "SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")". if keep doing following
> the book,the next "zlib-1.25 && file-5.09 && binutils-2.21.1a " will
> link against with lib under /tools ,but i think it should link against
> with lib under /usr. anyone can tell me why?

At that point you have only installed glibc into /usr. You need to link
against gcc's libraries in /tools or nothing will work. It gets fixed
after you've installed gcc into /usr.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to