summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/README
blob: c17aefcc5b2a679036230b45f5b8c25c42d2115a (plain)
1
2
3
4
5
6
7
8
9
10
11
diet glibc to statically link programs that don't need all the bloat
from glibc.

malloc, printf and scanf contributed from Olaf Dreesen.

Usage:
	gcc -I~/dietlibc/include -Os -pipe -c *.c
	gcc -nostdlib -o ncp ~/dietlibc/start.o *.o ~/dietlibc/dietlibc.a

If you use the glibc includes, directory reading (and maybe other
functions) will fail.  You have been warned!