Related: https://buildroot.org/
Linux from Scratch
21–30 of 164 posts
Re: Linux from Scratch
#22I really like the idea, really tried following the process several times. But each time it just turned into a copy-incomprehensible-commands-into-the-terminal exercise at some point, and I lost motivation. Did anyone experience the same?
Yep, basically. At some point you realise you could do it, but do you really want to go through it all... It's a slog. It is a fun experience though!
Aren't those two opposites?
Re: Linux from Scratch
#23Earlier quoted context omitted.
it's better if you try to work out what the commands and options are doing. I did this a long time ago, and 15 years later, I realise that it gave me a big advantage over my colleagues who haven't done something like that. "missing xxxxx.so" - they don't even know what that means, whereas I'm already trying to find the so and putting it in ld_library_path to see if it helps.
In my experience, whenever a .so was missing it was either due to a missing package on the os package manager level, or a completely broken gcc or llvm setup. I never needed to explicitly add single .so files to a path. (Besides the use case where I specifically wanted to override a malloc implementation.) In which cases did/do you need to add individual files?
Re: Linux from Scratch
#24Related: https://buildroot.org/
This basically allows you to make an OS that’s effectively a single application, right?
Re: Linux from Scratch
#25Re: Linux from Scratch
#26I really like the idea, really tried following the process several times. But each time it just turned into a copy-incomprehensible-commands-into-the-terminal exercise at some point, and I lost motivation. Did anyone experience the same?
I also wanted to implement an isolated build system and my own package manager (basically tar wrapper with file database to be able to uninstall, no fancy dependency stuff), but containers were not invented back then and my skills were not good enough to properly utilize fakeroot, so it never was implemented, although I spent some time experimenting. Today I would do it with docker, exciting time.
Re: Linux from Scratch
#27What's the fun in this? I once looked into it briefly and it's what I guessed: mostly about building and installing the required software individually. That's boring, I guess the fun would be in building an actual usable distro "from scratch".
Re: Linux from Scratch
#28I really like the idea, really tried following the process several times. But each time it just turned into a copy-incomprehensible-commands-into-the-terminal exercise at some point, and I lost motivation. Did anyone experience the same?
I found it quite educational and worth the little time I spent on it.
Re: Linux from Scratch
#29I did this, once, on a 386. Did I learn things? Definitely. Will I ever do it again? Definitely not ;)
I wonder, if you were to script all the commands you ran back in the day, and ran that same script on your old 386 and on a modern system with a top-of-the-line AMD Epyc or Intel Xeon, how much faster would it run?
Re: Linux from Scratch
#30Earlier quoted context omitted.
I wonder, if you were to script all the commands you ran back in the day, and ran that same script on your old 386 and on a modern system with a top-of-the-line AMD Epyc or Intel Xeon, how much faster would it run?
Especially with the increase in storage performance - going from a hard disk that might have even still been using PIO modes to modern NVMe would be gigantic
The same is true for all other pieces of software.
Build time will always increase until no one can be bothered to build it any more.