hello.c
#include<stdio.h> int main(void) { puts("Hello world !"); return 0; }
gcc hello.c ./a.out
Hello world !
sudo apt-get install tcc
tcc -run hello.c
Ou encore on peut ajouter un shebang mais le fichier ne sera plus conforme au langage C.
#! /usr/bin/tcc -run #include<stdio.h> int main(void) { puts("Hello world !"); return 0; }