Difference between revisions of "Tcc"

From ArchWiki
Jump to: navigation, search
m (Not directly related to package.)
(update link(s) (avoid redirect))
Line 2: Line 2:
 
[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 ==
Install {{pkg|tcc}} form the [[Official Repositories]].
+
Install {{pkg|tcc}} form the [[Official repositories]].
  
 
== Usage ==
 
== Usage ==

Revision as of 12:04, 24 February 2014

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