forked from pikhq/bootstrap-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
21 lines (18 loc) · 1.02 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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