Tcc

From ArchWiki
Revision as of 07:15, 16 November 2012 by Mytbk (Talk | contribs) (Created page with "Category:Package development [http://bellard.org/tcc/ Tcc] is a C compiler. It is small fast. == Installation == Install {{pkg|tcc}} form the Official Repositories. =...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Build packages with Tcc

Add export CC=tcc to your /etc/makepkg.conf.