LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-05-2011, 05:59 PM   #1
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Rep: Reputation: 0
adjusting the toolchain LFS 6.3 Section 5.7


hello, trying to make LFS 6.3 chapter 5.7, you can not resolve the problem.

code:
mv -v /tools/bin/$(gcc-dumpmachine)/bin/{ld, ld-old}

error:
mv: can not stat /tools/bin/i486-pc-linux-gnu/{ld,ld-old} no such file or directory

type "echo $PATH" and get:
/bin/usr/bin:/bin:/sbin:/usr/sbin

can help me?
 
Old 03-06-2011, 03:05 AM   #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,
Quote:
Originally Posted by poisoning View Post
hello, trying to make LFS 6.3 chapter 5.7, you can not resolve the problem.
Why LFS version 6.3 and not the latest stable 6.7? Although 6.3 can still be build, depending on the host you are using you might use packages on your host that have not been tested with 6.3 (most versions will be too high and might not work).

Quote:
code:
mv -v /tools/bin/$(gcc-dumpmachine)/bin/{ld, ld-old}

error:
mv: can not stat /tools/bin/i486-pc-linux-gnu/{ld,ld-old} no such file or directory
Shouldn't that be:
Code:
mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}
Also: Don't forget the space between gcc and -dumpmachine......

Hope this helps.

Last edited by druuna; 03-06-2011 at 05:50 AM. Reason: spelling
 
Old 03-06-2011, 08:29 AM   #3
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
Sorry

sorry this code is

Quote:
Originally Posted by poisoning View Post
code:
mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}

error:
mv: cannot stat /tools/i486-pc-linux-gnu/{ld,ld-old} no such file or directory

type "echo $PATH" and get:
/bin/usr/bin:/bin:/sbin:/usr/sbin

can help me?
I did as the manual says but still, I have this error.
 
Old 03-06-2011, 10:28 AM   #4
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,
Quote:
Originally Posted by poisoning View Post
type "echo $PATH" and get:
/bin/usr/bin:/bin:/sbin:/usr/sbin
That is not correct, it should be: /tools/bin:/bin:/usr/bin

Are you doing this as user lfs or as root? It should be lfs. Have a look at chapters 4.3 and, especially, 4.4.

Hope this helps.

BTW: If you did do chapters 5.1 up to 5.7 as root: Delete everything and start from scratch again.
 
Old 03-07-2011, 08:16 AM   #5
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
i486-pc-linux-gnu vs i686-pc-linux-gnu??

thanks druuna already resolved one way or another .

Last edited by poisoning; 03-07-2011 at 02:16 PM.
 
  


Reply



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
LFS- Adjusting the Toolchain problem LinuxNewman Linux From Scratch 27 06-09-2009 02:04 AM
LFS - Adjusting the toolchain problem (book 6.4) charlie_lab Linux From Scratch 4 05-26-2009 04:20 AM
live cd 6.2 section 5.7 adjusting the toolchain problems replacing the linker Michael Fearon Linux From Scratch 8 02-21-2009 10:13 AM
5.7. Adjusting the Toolchain LFS.6.3 need help foi Linux From Scratch 3 07-05-2008 07:30 PM
Adjusting the Toolchain in lfs 6.3 saritha Linux From Scratch 3 02-15-2008 01:31 AM

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

All times are GMT -5. The time now is 08:20 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