Tiny C Compiler

The Tiny C Compiler ( TCC also, tcc or TinyCC called ) is a written by Fabrice Bellard C compiler for x86, x86 -64, ARM and TMS32067 platforms. It was developed with the aim to work well on slow computers with little memory ( for example, rescue CDs). The TCC is under the GNU Lesser General Public License ( LGPL).

The TCC supports a large part of ANSI C, the new ISO C99 standard and many GNUC extensions, including the possibility of using the inline assembler for the x86 platform.

Features

  • TCC is small - The TCC (for example, insufficient memory on rescue discs ) compile even on computers with few resources. ( The TCC for the x86 Platform is approximately 100KB in size ( Contains compiler, preprocessor, assembler and linker. ) )
  • TCC is fast - The TCC creates optimized code and compiles, assembles and links up to 9 times faster than GCC.
  • Each C- library can be used. The TCC seeks the complete support of the ISO C99 standard. TCC can compile itself.
  • TCC includes an optional memory and array bounds checker. Code with index check can be mixed freely with standard code.
  • TCC compiled C code directly, it is neither left nor assemble necessary. TCC contains a complete C preprocessor and GNU -like assembler.
  • TCC supports C as a scripting language (Unix / Linux: # / usr / local / bin / tcc -run insert at the beginning of the code, script is run directly from the command line! )
  • Since version 0.9.23 of the TCC supports creating applications for Microsoft Windows PE.

The LGPL license allows anyone to modify and / or redistribute the code. In addition, TCC can be used for the development of open source and proprietary software.

History

TCC has posted its origin in the Obfuscated Tiny C Compiler ( OTCC ), a program that Bellard for the International Obfuscated C Code Contest ( IOCCC ) 2002. Bellard expanded the program and made the code more readable to create from the TCC. But he will not now further developed by himself.

Documents

776306
de