Tcc

From ArchWiki
Revision as of 05:34, 19 November 2012 by Fengchao (Talk | contribs) (Not directly related to package.)

Jump to: navigation, search

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