Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 02-02-2009, 10:47 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 12

Rep: Reputation: 0
Question Did I re-adjust the toolchain correctly?

I am installing LFS version 6.4 and currently I am an section 6.10. I am in the chrooted environment and have just compiled and installed Glibc. Now I am trying to re-adjust the toolchain as the docs suggest. The part I am confused about is where I am supposed to adjust the gcc specs file.

The docs say to use this huge one liner.
gcc -dumpspecs | sed -e 's@/tools/lib/' -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > `dirname $(gcc --print-libgcc-file-name)`/specs
So I did this and then the docs say that i should inspect the gcc specs file and manualy to make sure the changes were actually made. Well I assume that nothing in the specs file should refer to anything in /tools/. So i checked it using this:

root:/# gcc -dumpspecs | grep /tools/ 
 %{muclibc:%{mglibc:%e-mglibc and -muclibc used together}/tools/lib/;:/tools/lib/}
Does this mean my specs file is not changed correctly? What should my specs file say or NOT say at this point?




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
5.7 adjusting the toolchain echnat0n Linux From Scratch 1 03-19-2007 08:09 AM
about toolchain nesta Linux - Kernel 4 01-23-2007 05:30 AM
Problems with the Toolchain hbinded Linux From Scratch 10 05-17-2006 08:51 AM
Broken toolchain Camino Slackware 9 11-22-2005 09:38 AM
6.12. Re-adjusting the Toolchain jobesd Linux From Scratch 2 01-16-2005 01:50 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration