LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   triple and consistency (https://www.linuxquestions.org/questions/linux-from-scratch-13/triple-and-consistency-4175602272/)

jr_bob_dobbs 03-21-2017 12:06 PM

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?

hazel 03-23-2017 02:53 AM

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.


All times are GMT -5. The time now is 05:52 PM.