02 Compiling C

Compilers

Online references:

GCC

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.

References

1. http://gcc.gnu.org/
2. /http://www.delorie.com/djgpp/
3. http://sources.redhat.com/cygwin/
4. http://galton.uchicago.edu/~gosset/Compdocs/gcc.html
5. http://users.actcom.co.il/~choo/lupg/tutorials/c-on-unix/c-on-unix.html
6. http://eewww.eng.ohio-state.edu/ee281/compile/gcc.html
7. http://gcc.gnu.org/onlinedocs/gcc/
8. Mailing List