LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-03-2005, 06:40 PM   #1
matthewa
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123

Rep: Reputation: 15
ok guys, im getting there..another question?


ok.......in 5.9. Adjusting the Toolchain what directory do I need to be in before I issue the sed script:

SPECFILE=`gcc --print-file specs` &&
sed 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' \
$SPECFILE > tempspecfile &&
mv -f tempspecfile $SPECFILE &&
unset SPECFILE


...to ammend the gcc specs file??? Can I give these commands while in "/mnt/lfs" directory or do I need to be in the "/mnt/lfs/tools/lib/gcc/i686-pc-linux-gnu/3.4.1" directory where the specs sript resides???

Again.thanks in advance!
 
Old 06-03-2005, 06:50 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

This part gcc --print-file specs will determine on which file the sed command is done. You should be able to execute 'gcc --print-file specs' from 'any' location (the one your are in when this chapter (5.9) started is best).

Hope this clears things up a bit.
 
Old 06-03-2005, 07:32 PM   #3
matthewa
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123

Original Poster
Rep: Reputation: 15
That was more than helpful my friend.......thanks a ton!!!
 
  


Reply


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
im almost there guys! ....but, yet another question??? matthewa Linux From Scratch 4 06-04-2005 03:04 AM
an easy question for you guys Bryanlee Linux - Newbie 3 05-16-2005 07:15 AM
question guys for those gurus golpemortal Linux - Wireless Networking 0 04-21-2005 12:52 AM
Guys ...PHP QUESTION maseby Programming 5 05-25-2004 04:17 PM
Here is a simple question for you guys patpawlowski Linux - Newbie 2 02-04-2004 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration