From ArchWiki
Jump to: navigation, search

Tcc is a small and fast C compiler.


Install the tcc package.


Tcc is similar to gcc, but because of the increased speed of tcc it can be useful to compile the code and run it immediately:

 $ tcc -run foo.c

You can make a C source file executed by tcc by adding a shebang:

 #!/usr/bin/tcc -run

See also