This is a LinuxChix course page. This and the other courses pages are yet to be ported to the new LinuxChix website. Please feel free to browse the course in the meantime.

We appreciate your patience.


Compiling C


Online references:


Mary posted a simple summary of compiling with GCC.

In particular, note that rather than compiling like this:

gcc source.c

you should compile like this:

gcc -Wall -pedantic source.c

as the Wall and pedantic flags will catch errors that do compile, but are probably errors.

© LinuxChix 2000-2006 unless otherwise specified Hosting provided by Intel and OSU Open Source Lab.