gcc -c apkopo avota failus bez saites.
$ gcc -c [options] [source files]
Ierakstiet avota failu myfile.c :
// myfile.c
#include <stdio.h>
void main()
{
printf("Program run\n");
}
Kompilējiet manu failu.c:
$ gcc -c myfile.c
Šī kompilācija ģenerēja myfile.o objekta failu.