3

I have a TrueOS installation. I was wondering if it was possible to follow the LFS book on my current system.

1
  • In the BSD world, "LFS" is usually the Log-structured File System from 4.4BSD. If you mean something else, then you should make that explicit, expanding the initialism, in the question. – JdeBP Apr 18 '19 at 10:49
2

No.

If you want to cross-compile a Linux-based operating system from a non-Linux-based operating system, you are out of luck with the Linux From Scratch doco, which explicitly states as its base requirement that you already have and are using a Linux-based operating system with a particular flavour of tools. The build processes rely upon the idiosyncrasies of GNU tools and compilers, starting from GNU makefiles and including that the (second) project to make Linux buildable with the clang compiler has not yet succeeded.

If you want to build a FreeBSD or Project Trident operating system, the Linux From Scratch doco is the wrong thing to be looking at, because it is about entirely the wrong operating system. Project Trident systems are built with different toolchains, and in different ways. Different even to the way that TrueOS and FreeBSD systems are built, which are in their turn different to the way that Linux-based operating systems are built, not the least of which is in the use of ZFS cloning and boot environments.

Further reading

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.