LFS Walkthrough

This is going to be me chronicling my adventures doing Linux From Scratch. I'm doing it using Manjaro Linux (to learn the distro and to use something different). I'll be putting my scripts here on Github.com; there are lots out there, but practice. I'm also doing it on my test laptop.

BTW, I'm restarting everything since version 8.0 of LFS has just been released. So, enough of that, lets get on with it...

Quick Reference

  • export LFS=/mnt/lfs

Chapter 2 Notes

  • The version check stuff mostly looked good. I had to: sudo pacman -Sy bison
  • Run the library_check.sh file with sudo.

Chapter 3 Notes

  • https://sourceforge.net/projects/libpng/files/zlib/1.2.8/

Chapter 4 Notes

  • Will they setup build environment after boot-strap?
  • Use "make -j2" for normal stuff, but if get error, take out "-j2" for easier reading output (at expense of time).
  • Use http://www.linuxfromscratch.org/lfs/build-logs/7.10/ to see if logs errors are really something to worry about or not (relating to test suites).

Chapter 5 Notes

  • "A simple way to determine the name of the target triplet is to run the config.guess script that comes with the source for many packages. " [...] "For example, for a 32-bit Intel processor the output will be i686-pc-linux-gnu. On a 64-bit system it will be x86_64-pc-linux-gnu."
  • "Also be aware of the name of the platform's dynamic linker, often referred to as the dynamic loader (not to be confused with the standard linker ld that is part of Binutils)." [...] "A sure-fire way to determine the name of the dynamic linker is to inspect a random binary from the host system by running: readelf -l <name of binary> | grep interpreter and noting the output."
  • For 5.8, I used another ../ before configure.

Chapter 6 Notes

  • 6.9 - (re)move the old build folder out of the way first