LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-11-2019, 02:14 PM   #1
Terry Coats
Member
 
Registered: Mar 2017
Posts: 122

Rep: Reputation: 54
LFS-BOOK-SVN-20190908 chapter 6.10 adjusting toolchain can't find "ld-new"


Chapter 6.10 LFS-BOOK-SVN-20190908
I've been compiling this version of lfs with no problems
up until now. Here's the problem:
Code:
mv -v /tools/bin/{ld,ld-old}
mv -v /tools/$(uname -m)-pc-linux-gnu/bin/{ld,ld-old}
mv -v /tools/bin/{ld-new,ld}
ln -sv /tools/bin/ld /tools/$(uname -m)-pc-linux-gnu/bin/ld
The third line wants to move "ld-new' to "ld."
The problem is there is no "ld-new" in /tools/bin
and I don't see anywhere where it was created, like a step
is missing.Any suggestions on this?
 
Old 09-12-2019, 12:04 AM   #2
Terry Coats
Member
 
Registered: Mar 2017
Posts: 122

Original Poster
Rep: Reputation: 54
Never mind on this one. I bunged it up so bad trying
to fix it that I even lost the source folder and all
it contained plus the big html file with the book.
I'm usually better then this but I must have gotten
up to eat or something and completely lost my place
without realizing it. Sorry.
 
Old 09-13-2019, 06:33 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
ld-new is created in the second pass of binutils in chapter 5. If you read the page carefully, you will see that after installing, you clear and rebuild the ld subdirectory. This creates a file called ld-new which you copy to /tools/bin by hand.
 
Old 09-13-2019, 10:38 AM   #4
Terry Coats
Member
 
Registered: Mar 2017
Posts: 122

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by hazel View Post
ld-new is created in the second pass of binutils in chapter 5. If you read the page carefully, you will see that after installing, you clear and rebuild the ld subdirectory. This creates a file called ld-new which you copy to /tools/bin by hand.
Yeah, I finally realized I missed a step.I must have got up
to eat or go to the bathroom or something and lost my place
without realizing it. I'm usually pretty good at this having
done several lfs over the years. Now it's become just a slog.
In messing around trying to fix it I even ended up deleting
the whole sources directory and the big html containing the
book so it was a complete startover.I'm now at chapter 6.12
without problems so maybe I can complete this soon. Then on
to blfs.
 
  


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
LFS7.2, problem when chapter 6.10: adjusting the toolchain, can not change gcc specs SuMZ Linux From Scratch 7 01-11-2013 07:31 PM
[SOLVED] LFS Book 6.8 Chapter 6.10 Re-adjusting the toolchain eliadk Linux From Scratch 10 10-11-2011 04:50 AM
[SOLVED] LFS SVN-20091020 Adjusting the Toolchain Halloween_Devil Linux From Scratch 1 10-31-2009 02:26 PM
LFS - Adjusting the toolchain problem (book 6.4) charlie_lab Linux From Scratch 4 05-26-2009 04:20 AM
No output from sanity check, chapter 5.7.*Adjusting the Toolchain Murdock_nl Linux From Scratch 2 09-13-2008 12:59 AM

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

All times are GMT -5. The time now is 04:31 AM.

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