[Courses] [C] Compiling C: summary

Mary mary-linuxchix at puzzling.org
Thu Jul 18 11:24:24 EST 2002


Avavilable at
http://www.linuxchix.org/content/courses/c_programming/compiling.html

                                  Compiling C

Compilers

     * [1]GCC
     * [2]DGJPP [MS DOS]
     * [3]Cygwin [UNIX tools for Windows, includes gcc]

Online references:

     * [4]Simple examples of compiling with gcc
     * [5]A GCC tutorial
     * [6]Indepth discussion of command line compiling
     * [7]the GCC manual

GCC

   Mary [8]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. http://mailman.linuxchix.org/pipermail/courses/2002-July/000583.html



More information about the Courses mailing list