Skip to main content
Logo image

Section 28.12 Compile to an Object File

Activity 28.7.

Next, compile testComplex.c to an object file:
gcc -c -o testComplex.o testComplex.c
Notice again, that testComplex.o is not an executable file (even though it has a main() function). But it hasn’t been linked together with our library yet and thus can’t execute any library functions.

If the server window does not load, please click here.