Tiny C Compiler
Tiny C Compiler (TCC)
Tiny C Compiler (TCC) is an extremely small and fast C compiler created by Fabrice Bellard. It is designed for compiling, linking and executing C code very quickly, making it useful for testing snippets of code.
What is Tiny C Compiler?
Tiny C Compiler (TCC) is an open source, light-weight and blazing fast C compiler and runtime library originally developed by Fabrice Bellard. It is designed to compile and execute C code extremely quickly, making it very useful for testing small code snippets or experimenting with the C language.
Some key features of TCC include:
- Extremely small executable size, less than 100KB
- Very fast compilation speeds, can compile over 100000 lines per second
- Full support for ANSI C and most GNU C extensions
- Can compile code to byte code, executables, shared libs or DLLs
- Built-in support for generating x86, ARM, PowerPC and MIPS machine code
- Includes an integrated C runtime library
- Minimal external dependencies - does not require an OS or standard libraries
While TCC does not handle some complex C code, it works quite well for small programs and testing snippets of code. The fast compile times make it ideal for prototyping ideas quickly. TCC can compile and run code on many platforms including Linux, Windows and Mac OS X.
Some uses cases for TCC include testing code snippets, teaching C programming, embedded systems programming and scripting-like tasks to automate processes using C. Many IDEs and text editors have integrated TCC to allow compiling and testing C code directly.
Tiny C Compiler Features
Features
- Small and fast C compiler
- Can compile, link and execute C code very quickly
- Supports ANSI C with some extensions like inline ASM
- Can generate code for x86, ARM, PowerPC and SPARC
- Can output executable binaries or object files
- Has a built-in preprocessor and assembler
- Can integrate with IDEs and build systems via CLI
- Open source with permissive licensing (LGPL)
Pricing
- Open Source
Pros
Cons
Official Links
Reviews & Ratings
Login to ReviewThe Best Tiny C Compiler Alternatives
View all Tiny C Compiler alternatives with detailed comparison →
Top Development and Compilers and other similar apps like Tiny C Compiler
Here are some alternatives to Tiny C Compiler:
Suggest an alternative ❐Pelles C
GNU Compiler Collection
SDCC - Small Device C Compiler