Yeah, we are far from everything here
In Australia we call it âthe tyranny of distanceâ.
Modern communications help, but they are not everythingâŚpeople travel thousands of kilometers for medical services.
Itâs hard to imagine the distances you have there!
Still working with LFS, and finding out the hard-way of what-not-to-do!!!
One thing for sure, LFS is not to be compiled on older hardware, and while most packages, like binutils, glibc and gcc, will compile, the packages will not pass enough tests, for LFS to boot properly.
Gentoo, is far more user friendly, when compiling to older hardware!!!
I know LFS, touts being a Linux learner OS, but if I need up-to-date hardware, I miss the point, and will search elsewhere.
OK, but I dont get the reason?
Things like gcc will work on anything back to a 386.
It may be something to do with driver modules?
Do you have any messages indicating what it is complaining about.
Exactly how old is your hardware?
You would if you want to take the challenge of compiling LFS!!!
I will do it one day.
Unless you have a very bad mainstream PC, then you better set aside several days!!!
Instead of doing -march=<platform>
do -march=native
thatâll always set the correct compiler flags for your CPU.
Also, check /proc/cpuinfo
for processor flags. Some packages may perform better when some processor-specific flags are enabled, which arenât covered by -march=native
or for when the build script set something like -march=amd64
.
@xahodo
The only LFS package that really gives me compiling issues is gcc 14.2.0!!! The tests can really take a long time!!!
Are you doing this in Vbox?
If so, did you allocate enough vdi space and cpuâs
No!!! The i3 with 16GB, in my laptop, of ram will compile and run the gcc tests, although it takes around 9hrs to run the tests!!! Am trying now to compile LFS on a 64GB usb drive, it is going well, if I do not make a mistake.
That may be slow. Why not on internal disk? Does it want to âownâ the disk?
LFS will do more than own the disk, if the LFS root partition is not mounted in the right way, The laptop is the best machine I have, and it is either a usb drive or an external drive!! I might be able to make a partition for LFS, boot with a Gentoo live usb and mount /boot and swap, that are mounted by Gentoo, or nuke Gentoo and then do the LFS compile.
You need 2 disks. Is it an option to add another internal disk? Probably not.
Laptop only has a slot for one disk, thus the USB!!!
@nevj
LFS is small, and it has no installer, you have to find a distro, like Gentoo, that has all the tools, to be able, to compile LFS. That is why the LFS root partition has to be mounted, very carefully, or you will be compiling to the system root partition, that is not good
Yes compiling onto the Gentoo root partition would be rather embarassing.
It is very easy to confuse filesystems when there are mounts. I once edited the wrong etc directory!
I think I would go with Gentoo on the usb drive, and LFS on the disk.
That would be a good idea, but Gentoo is already on the disk, and if LFS will compile to the USB, I can use Gentoo to boot LFS.
I have a live Gentoo on a USB, but it is not persistence, and I lose all data if I have to reboot.
Will know very soon if my LFS compile is working!!!
Next time, install it to the usb stick. Persistence has knobs on it.