Difference between revisions of "Tcc"

From ArchWiki
Jump to: navigation, search
(there already is a link to the homepage at the top, so I added a link to the Wikipedia instead - it has some info about code optimizations etc.)
m (Not directly related to package.)
Line 1: Line 1:
[[Category:Package development]]
+
[[Category:Development]]
 
[http://bellard.org/tcc/ Tcc] is a small and fast C compiler.
 
[http://bellard.org/tcc/ Tcc] is a small and fast C compiler.
 
== Installation ==
 
== Installation ==

Revision as of 05:34, 19 November 2012

Tcc is a small and fast C compiler.

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