3 ms·
A "tiny" (read: small) C compiler can also be found at: https://bellard.org/tcc/ https://bellard.org/tcc/ It has been unmaintained for a while now, but it's st
by jsteemann 9y ago
A "tiny" (read: small) C compiler can also be found at:
https://bellard.org/tcc/ https://bellard.org/tcc/
It has been unmaintained for a while now, but it's still good as a starting point.
Interestingly enough it's a spin-off of a code submission for winning the international obfuscated C code contest (http://www.ioccc.org/ http://www.ioccc.org/).
Original code (covering just a subset of C) can be found here:
https://bellard.org/otcc/ https://bellard.org/otcc/
- amadeusz 9y agoI think tcc is now community maintained, see "Savannah project page and git repository", and you can get there link to project git, which was last updated just few days ago. (http://repo.or.cz/w/tinycc.git http://repo.or.cz/w/tinycc.git) so seems to be active.
- dane-pgp 9y agoEarlier this year, tcc (re)gained the ability to compile gcc 4.7: http://lists.nongnu.org/archive/html/tinycc-devel/2017-05/msg00102.html http://lists.nongnu.org/archive/html/tinycc-devel/2017-05/ms... This is an important result for activities such as Diverse Double-Compiling (a response to the Trusting Trust attack), and as part of the exciting work being done towards bootstrapping a modern Linux environment from source and a hex/assembly base: http://bootstrappable.org/ http://bootstrappable.org/