3 ms·
On a related topic - has anyone tried to move the build process of a very old Linux version, say Linux 0.92/0.12 to modern toolchains on modern computers? I bel
by markus_zhang 1y ago
On a related topic - has anyone tried to move the build process of a very old Linux version, say Linux 0.92/0.12 to modern toolchains on modern computers? I believe the original build process requires gcc 1.4.0 and other programs such as `as` which are not available on modern systems.
The target is to be able to build Linux 0.12 using modern gcc and run it in QEMU, or preferable on a true 80386 machine. AFAIK, modern gcc still supports this architecture, so in concept this should be possible. There might be a LOT of changes in source code to be made, though.
The idea behind is to obtain a very old Linux that can be built easily on modern systems, with modern C support, and gradually add my own stuffs using the same tools, so that I don't limit myself to very old toolchains.
Edit: The reason to pick Linux 0.12/0.92 is because 1) It is kinda complete (without network I believe) but not too complex (I believe the loc is under 20K), and 2) It is not a toy OS and can run on real hardware (a 80386 machine), and 3) we have an excellent book for it: https://download.oldlinux.org/CLK-5.0-WithCover.pdf https://download.oldlinux.org/CLK-5.0-WithCover.pdf
- tscherno 1y ago"NCommander" on YouTube could probably be a good starting point to get a feel for what is required and to ask some questions. Features very interesting/insane archaeology builds like bootstrapping Linux from Scratch on WinXP SFU which ships with an incomplete toolchain from 1993 (?). 8)
- khrbtxyz 1y agohttps://github.com/mariuz/linux-0.01 https://github.com/mariuz/linux-0.01 might give you some ideas.
- dxroshan 1y ago`as` the assembler is still available.
- siddbudd 1y agoin English: https://download.oldlinux.org/ECLK-5.0-WithCover.pdf https://download.oldlinux.org/ECLK-5.0-WithCover.pdf
- markus_zhang 1y agoThanks, I meant to paste this link.