Though for simpiler programs just typeing

cc program.c
should work.