LinuxQuestions.org
Help answer threads with 0 replies.
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 05-23-2011, 05:04 PM   #1
BrandonJ
Member
 
Registered: Mar 2010
Posts: 33

Rep: Reputation: 16
Exclamation Chapter 6-10 question


Where it says "Next, verify that the new linker is being used with the correct search paths:"

I get a small difference in the output.

They said the output should be:

Code:
SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")
SEARCH_DIR("/usr/lib")
SEARCH_DIR("/lib");
I got...:

Code:
SEARCH_DIR("/tools/x86-64-unknown-linux-gnu/lib64")
SEARCH_DIR("/tools/x86-64-unknown-linux-gnu/lib")
SEARCH_DIR("/usr/lib")
SEARCH_DIR("/lib");
Im sure this is correct and fine, right?
 
Old 05-23-2011, 05:09 PM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Nope. Sounds like you're following the LFS instructions on a 64-bit processor. You need to use the CLFS (Cross Linux From Scratch) instructions
 
Old 05-23-2011, 05:44 PM   #3
BrandonJ
Member
 
Registered: Mar 2010
Posts: 33

Original Poster
Rep: Reputation: 16
Wrong, Might want to refer to LFS Target Architectures.

Note what it says right here...

Quote:
The default 64-bit build that results from LFS is considered a "pure" 64-bit system. That is, it supports 64-bit executables only.
I am building a pure 64-bit linux os. Since we are moving on into 64Bit I thought I should go ahead and make a 64bit os.

EDIT:
When I got to Chapter 6.16, There was a output of what you may see on a x86_64 machine, I got the same results as it so everything is going good... for now.

Last edited by BrandonJ; 05-23-2011 at 05:57 PM.
 
1 members found this post helpful.
Old 05-24-2011, 06:50 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,

Just to make sure: BrandonJ's conclusion is correct.

Building LFS on an x86_64 system will show x86_64 entries. This is not shown in a few chapters of the LFS book. As already mentioned by BrandonJ, later on in the book this is covered.

Hope this clears things up.
 
Old 05-24-2011, 08:38 AM   #5
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Oops, sorry, I stand corrected well done for reading things more carefully than I did
 
Old 05-24-2011, 03:23 PM   #6
BrandonJ
Member
 
Registered: Mar 2010
Posts: 33

Original Poster
Rep: Reputation: 16
I read well until I got to Grub. I typed in something wrong and the machine restarted. When I got the LFS Live CD back up, i tried to mount the drive but it failed to do so. I opened up cfdisk and it got a error. I aint really worried about it because it only took me a few days to build it (i rushed) So I think im just going to go ahead and do a CLFS.
 
  


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
Conceptual question: why wait until chapter 8 to compile a new kernel? Lufbery Linux From Scratch 3 06-09-2010 06:04 PM
[SOLVED] Question about moving to Chapter 6 in the LFS book. BrandonJ Linux From Scratch 2 04-05-2010 12:48 PM
Bash for beginners @ TLDP.ORG, chapter 8, question crispyleif Linux - Newbie 5 02-18-2009 06:17 AM
LFS 6.3, messed up somewhere prior to chapter 6.12 (gcc), how to restart chapter 6? Funkster Linux From Scratch 2 12-24-2008 07:30 AM
Chapter 6.7 I have no name! LQ496873 Linux From Scratch 1 02-10-2006 10:27 PM

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

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