4 neatcc is a simple ARM/x86 C compiler. I wrote it to complete my
5 development toolchain (see http://litcave.berlios.de/):
7 * cc: git://repo.or.cz/neatcc.git
8 * ld: git://repo.or.cz/ld.git
9 * as: git://repo.or.cz/neatas.git
10 * libc: git://repo.or.cz/neatlibc.git
11 * gdb: http://litcave.berlios.de/coredump.tar.gz
12 http://litcave.berlios.de/elfloc.tar.gz
14 neatcc supports a large subset of C language but lacks some of the
15 features that I didn't use much myself. The most important missing
16 features are struct bitfields, inline asms and floating point and
22 neatcc has been tested with neatlibc and dietlibc. It can compile
23 itself and neat* toolchain. I use this script to run neatcc:
26 NEAT="/path/to/neatlibc"
27 CC="/path/to/neatcc/ncc"
30 # these can be ignored
31 CPPFLAGS="-Dfloat=long -Ddouble=long"
37 exec ${CC} ${CPPFLAGS} -I${NEAT} $*
41 exec ${LD} $* ${NEAT}/start.o ${NEAT}/libc.a