Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A Linux system which is just barely capable of building itself.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
This is a complete, self-bootstrapping musl-based Linux system. It contains nothing more than Linux, Busybox, Binutils, GCC, GMP, MPFR, MPC, and GNU Make. I haven't attempted to minimize the configuration of these (yet), merely the package set. The programs get static-linked, but musl does install a dynamic linker, and GCC should be able to link programs against it. To build this from a non-musl Linux system, you will need to execute ./bootstrap.sh. This will build musl and a cross compiler, and then build the system against it, placing the result in ./out. ./make_fs.sh can be used to generate a bootable ext2 filesystem from the out directory. To use it, you will need the "genext2fs" program installed. If you don't feel like using it, you can just copy the files onto a filesystem of your choice and boot it. Some todos: * Fix the busybox patches so they work with latest busybox * Update to Linux 3.4 (after fixing those patches) * Backport the GCC patches, so I can use 4.2.x, and then remove MPFR, MPC, and GMP