Mostly it's a matter of substituting the right CC, -I.../include, and so on.
(musl provides a wrapper known as musl-gcc that's fairly effective at building stuff properly, without changing things behind your back--usually, make CC=musl-gcc is enough).
So far, build fails on Xfbdev and Xvesa but builds the libraries. I think this is just missing vm86 stufff.
[1] Musl is a libc that's aimed at minimizing footprint while providing a fully standard library with stable ABI--see http://www.etalabs.net/musl/
libc. I've gotten static busybox 1.18.5 binaries at around 800-900k, IIRC-don't reember whether that was stripped.
Code: Select all
ls -l libc.a
-rw-r--r-- 1 root root 1553870 2012-04-03 16:17 libc.a