Tinycc, TCC, otcc, lcc
Forum: Programming and Scripting
Topic: Tinycc, TCC, otcc, lcc
started by: chaostic
Posted by chaostic on July 08 2008,23:57Has anyone used any of them?
TinyCC: < http://www.landley.net/code/tinycc/ > GPL V.2
TCC: < http://bellard.org/tcc/ > LGPL
OTCC: < http://bellard.org/otcc/ > Freeware (non-obfuscated has BSD-like License)
lcc: < http://www.cs.princeton.edu/software/lcc/ > (Custom License)
They all seem to be very small, at 100~300kb for the entire package (Debian, with docs). They all seem to compile things faster and smaller then gcc, without needed as much files (The compiler and linker are built into the same app, and the c libraries are smaller).
Posted by roberts on July 09 2008,01:50tcc has been a part of DSL since nearly the beginning.
There is even a tutorial for it the < documentation > section
Posted by humpty on July 21 2008,20:50I haven't tried any of them, but I'm wondering how well do they
integrate with standard 'make' and 'configure' scripts ?
Posted by stupid_idiot on July 27 2008,12:58If I'm not wrong, tcc works for building small programs, but gives errors with large, complicated stuff e.g. building gcc or glibc.
BTW, another small compiler is < pcc >.