On Wed, December 13, 2017 20:57, Pol Vangheluwe wrote: > >> Op 13 dec. 2017, om 19:34 heeft William Harrington >> <[email protected]> het volgende geschreven: >> >> On Sat, December 9, 2017 18:31, Pol Vangheluwe wrote: >>> After a lot of trial and error, I finally could finish the build of >>> LFS-8.1-systemd with ALFS. >> LFS only supports x86 x86_64. for any other arch refer to clfs.org >> <http://clfs.org/> >> > I was just trying to build LFS on my G3, G4 and G5 Apple computers by > following the LFS-8.1 book. > I have built in the past LFS-6.4, LFS-6.8, LFS-7.2 and LFS-7.7 on > PowerPC-7200 and 7500 and on the G3 and G4 without any significant change > to the books. > > Something must have changed fundamentally with LFS-8.x, because I now had > to modify the following command-files for a successful build: > - 034-binutils-pass1 > - 035-gcc-pass1 > - 040-gcc-pass2 > - 072-creatingdirs > - 076-glibc > - 087-gcc > > clfs was for sure useful during my quest. > > This is my first LFS-build on a 64-bit machine (the iMac G5). The host > distribution is Ubuntu-12.0.4, which is, I believe, 32-bit. > I therefore expected that LFS-8.1 would still be 32-bit. > So, I am a bit surprised that I built a 64-bit system… >
It depends on the running kernel. Most packages determine target based on uname -m. LFS has commands in place to check 32/64bit. It doesn't have those commands for ppc. So you will have to adjust those commands for ppc when using ALFS. > pvg-- > http://lists.linuxfromscratch.org/listinfo/alfs-discuss > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page > My G5 blew up so I can't test. Still have a G4, though! Sincerely, William Harrington -- http://lists.linuxfromscratch.org/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
