If you want to build a LFS, pick a distribution and go with it. It doesn’t really matter, as long as it has the minimum required base packages LFS wants.
Yes, and only Gentoo and EndeavourOS, meet the requirements for the tools to compile LFS.
I can compile LFS from a usb boot but that requires the PC to be ran, until the kernel is compiled and LFS boots. The live usb boot lets me copy and paste commands
Bullshit. I built a LFS on Suse 7.2 at the time. Granted, Suse was already installed on the HDD, but you can just as easily install what’s needed with just a liveusb – I tried it myself with Linux Mint, Solus, and some others.
If you had followed the links I had posted you would have known.
The package managers work just fine on a live environment.
Thank you @xahodo, I always run the LFS minimum requirements script and so far only Gentoo and EndeavourOS meet the requirements!! Have not tried either Suse or Solus, I am sure they would work just fine.
So am I doing something wrong by using the LFS 12.2 book for the LFS compile?
Lots of distros do not come with the build-tools (build-essential) package as installed. You can always install it… then it would pass your LFS script test.
I often have to install build-tools just to compile something. They seem to assume these days that a user will never need to compile anything.
So, you can make any distro meet the LFS test.
In Arch and Void the build-essential package is called base-devel
You download the script at right to a root terminal, double click on script and it gives the data, as to what LFS is in need of!!!
Endeavouros and Gentoo check out OK, I would be using Gentoo, but it is trying to compile a new version of llvm, do not have time for that!!!
Nope it isn’t and LFS does not require llvm and Endeavouros does not use the llvm source package. More than likely the intel GPU and my i5 cpu pulled in llvm as a Gentoo dependency, but that is OK EOS is running well.
I am guessing that is a bash script, how hard are they to write?
Easy. There are some tutorials on FOSS.
You basically put the CLI commands you want to run on a file, put #! /bin/bash on the first line, make the file executable, and run it.
Can you let Gentoo to compile it at night? You can also ask portage to only compile when the machine is idle. Or if you really don’t need llvm, mask it. There might be some other packages which pull llvm though.
Or just any distro with the build-tools should be fine as pointed out earlier
Sure, I can, and have, my first Gentoo compile, several years ago, on a 32bit machine, took several days of continues running!!!
llvm is part of the stage3 tar file but the llvm 19 is pulled in with the @world command, the Gentoo devs will propably have it in a binary package, soon!!!