tiomsaíonn gcc -c comhaid foinse gan nasc a dhéanamh.
$ gcc -c [options] [source files]
Scríobh comhad foinse myfile.c :
// myfile.c
#include <stdio.h/
void main()
{
printf("Program run\n");
}
Thiomsú myfile.c :
$ gcc -c myfile.c
Ghin an tiomsú seo comhad réada myfile.o .