Difference between revisions of "Tcc"

From ArchWiki
Jump to: navigation, search
(See also: wikify link)
Line 12: Line 12:
 
== See also ==
 
== See also ==
 
*[http://bellard.org/tcc/ TCC Homepage]
 
*[http://bellard.org/tcc/ TCC Homepage]
*[https://wiki.archlinux.org/index.php/Clang clang:ArchWiki]
+
*[[Clang]]

Revision as of 14:41, 16 November 2012

Tcc is a C compiler. It is small fast.

Installation

Install tcc form the Official Repositories.

Usage

Tcc is similar to gcc, but it can also run C programs without compiling. For example,

 tcc -run foo.c

You can make a C source file executed by gcc by adding a shebang

 #!/usr/bin/tcc -run

See also