This is a heavily modified version of Fabrice Bellard's Tiny C Compiler. The goal of this fork is to maintain a compiler that bridges the gap between hobby compilers and OSDEV projects, and major professional compilers and other software packages. Hence, compiling this compiler should be as easy and undemanding as possible, but this compiler should be able to compile major software, including GCC.
To build TCC you need:
To build, simply first run the command .configure
, then run ninja
.
These are other internet resources that address similar concerns: