While the average user might be better off running a comfortable distribution such as Raspbian, there are a few scenarios where LFS might benefit you:
Any comments or ideas on how to improve the site or build instructions are greatly appreciated. Also note that building LFS on the Pi is not officially supported by the Linux From Scratch project, so don't demand any help from them.
In "4.4. Setting Up the Environment" the
LFS_TGT variable needs to be set to:
GCC also needs the file
gcc/config/arm/linux-eabi.h to have the dynamic linker locations changed in both passes of chapter 5:
for file in gcc/config/arm/linux-eabi.h do ...
GLIBC names the dynamic linker
ld-linux-armhf so we make a compatibility symlink for software that expect
ln -sv ld-2.25.so /lib/ld-linux.so.3
We use the bootloader from the Foundation's firmware repo instead of GRUB.