LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 02-02-2009, 10:47 PM   #1
startoftext
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.
Code:
gcc -dumpspecs | sed -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' -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:

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

Thanks.
 
  


Reply

Tags
lfs


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


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

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