1. Introduction
Tinycc (aka TCC) is a small but hyper fast C compiler. unlike other C compilers, it is meant to be self-relying: you do not need an external handler er or linker because TCC does that for you.
TCC compiles soFastThat even for big projectsMakefile
S may not be necessary.
TCC not only supports ansi c, but also most of the new ISO c99 standard and upgrade gnuc extensions including inline assembly.
TCC can also be used to makeC scripts, I. e. Pieces of C source that you run as a Perl or Python script. Compilation is so fast that your script will be as fast as if it was an executable.
TCC can also automatically generate memory and bound checks (see section tinycc memory and bound checks) while allowing all c pointers operations. TCC can do these checks even if non patched libraries are used.
Withlibtcc
, You can use TCC as a backend for dynamic code generation (see sectionlibtcc
Library ).
TCC mainly supports the i386 target on Linux and Windows. There are alpha ports for the arm (arm-tcc
) And the tms320c67xx targets (c67-tcc
). More information about the arm port is available at http://lists.gnu.org/archive/html/tinycc-devel/2003-10/msg00044.html.
For usage on Windows, see also tcc-win32.txt.
1. Introduction tiny CC (aka TCC) is a small but fast C compiler. Unlike other C compilers, it is an integrated compiler ). You don't need other compilers and connectors, because TCC already contains them. Makefile is essential if you want the TCC compiler to be fast in large projects. TCC not only supports ansi c, but also supports most ISO c99 standard features and many gnuc extended inline assembly. TCC can use C scripts. A c script runs like a Perl or Python script. The compliation script is as fast as the executable file generated by compilation. TCC can manage memory and perform boundary check (refer to the tinycc memory and boundary check part) in any pointer operation. TCC can also check unused memory blocks. In libtcc, TCC can be used as a dynamic library (refer to the libtcc Library Section). TCC mainly supports Windows and Linux in i386 architecture. For more information, see arm branch online documentation: ARM-TCC. For more information, see arm branch. for how to use it in windows, see tcc-win32.txt
1. Introduction
Tiny CC (aka TCC) is a small but fast C compiler. Unlike other C compilers, it is an integrated compiler ). You don't need other compilers and connectors, because TCC already contains them.
Makefile is essential if you want the TCC compiler to be fast in large projects.
TCC not only supports ansi c, but also supports most ISO c99 standard features and many gnuc extended inline assembly.
TCC can use C scripts. A c script runs like a Perl or Python script. The compliation script is as fast as the executable file generated by compilation.
TCC can manage memory and perform boundary check (refer to the tinycc memory and boundary check part) in any pointer operation. TCC can also check unused memory blocks.
In libtcc, TCC can be used as a dynamic library (refer to the libtcc Library Section ).
TCC mainly supports Windows and Linux in the i386 architecture. For more information, see arm branch online documentation: ARM-TCC. For more information, see arm branch.
For how to use it in windows, see tcc-win32.txt