I have built LFS a few times (on different raspberry pi platforms - 2b,
3b, zero) and I always noticed that the first pass of binutils and gcc
would install in:
then during pass 2 (and maybe others) the new files were installed in:
I thought perhaps this was something to do with building on ARM, so I
started a build on a pc and watched the files as they were installed.
pass 1 = $LFS/i686-lfs-linux-gnu
pass 1 = $LFS/i686-pc-linux-gnu
In the final running system, in /usr/bin there are two copies of several
files. These files are c++, g++, gcc, gcc-7.3.0, gcc-ar, gcc-nm, and
One copy is just the filenames as I would expect, the other copy has
"i686-pc-linux-gnu" prefixed to the beginning of each of the filenames.:
i686-pc-linux-gnu-c++, i686-pc-linux-gnu-g++, i686-pc-linux-gnu-gcc,
i686-pc-linux-gnu-gcc-nm, and i686-pc-linux-gnu-gcc-ranlib
During one build I tried to manually edit the makefiles after running
./config to change the i686-pc-linux-gnu to i686-lfs-linux-gnu, but that
failed pretty spectacularly.
Is this what is supposed to happen? Can one set be safely removed? Is
there a way to ./configure to give pass 2 the same filenames as pass 1?
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Q: What is the most annoying thing in e-mail?