LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-21-2017, 12:06 PM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 650
Blog Entries: 132

Rep: Reputation: 188Reputation: 188
triple and consistency


So I've been running chapter five a few times. Simple trial & error of a script to automate chapter five. Running it a few times to make sure all is well. Just now I noticed something:
Code:
$ ls -l /hsc/delete/tools
total 60
drwxr-xr-x  2 100 101 12288 Jan 10 12:01 bin
drwxr-xr-x  2 100 101  4096 Jan  8 14:09 etc
drwxr-xr-x 40 100 101  4096 Jan 10 11:59 include
drwxr-xr-x 11 100 101 12288 Jan 10 12:00 lib
lrwxrwxrwx  1 100 101     3 Jan  6 16:13 lib64 -> lib
drwxr-xr-x  6 100 101  4096 Jan 10 11:45 libexec
drwxr-xr-x  5 100 101  4096 Jan 10 10:03 man
drwxr-xr-x  2 100 101  4096 Jan 10 12:01 sbin
drwxr-xr-x 16 100 101  4096 Jan 10 11:54 share
drwxr-xr-x  3 100 101  4096 Jan  8 14:09 var
drwxr-xr-x  5 100 101  4096 Jan  9 08:16 x86_64-lfs-linux-gnu
drwxr-xr-x  4 100 101  4096 Jan  9 08:34 x86_64-pc-linux-gnu
Some directories and some files have "x86_64-lfs-linux-gnu" in their names and some have "x86_64-pc-linux-gnu". My understanding of the book is that they should all be lfs, not pc. Could someone please confirm? Thank you.

p.s.: I unzipped (err, de-tar-ed) my old backup from my 7.whatever LFS tools and they have the same (inconsistent?) names. That build worked so maybe this inconsistency is OK?
 
Old 03-23-2017, 02:53 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,494
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
The ones with lfs are pass 1 tools. Those tools were cross-compiled to wrench them loose from the host system. But the pass 2 tools are compiled natively, so they have the correct prefix as determined by config.guess. Did you notice that in the second pass builds, there was no target set? That makes it a native build.
 
  


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
file consistency using mmap kvm1983 Programming 2 07-31-2010 01:37 AM
Filesystem consistency check. swamprat Linux - Newbie 1 03-29-2008 12:30 PM
consistency! spank Linux - Hardware 0 12-27-2005 09:50 AM
Where is the Consistency ToeShot General 2 11-08-2004 12:09 PM
Autochecking filesystem consistency? Darktyco Linux - Software 0 08-08-2004 11:44 AM

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

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