GNU Compiler Collection 3.3.1

Date of last revision: 08/22/2003

GCC is the Gnu Compiler Collection. It contains compilers for C, C++, and Fortran.

GNU Compiler Collection 3.3.1 help index:





The gcc commands are normally accessible without any setup. However, if the workstation you are on has a different version of gcc installed, or for some other reason cannot find gcc, you will have to perform setup actions.

GNU Compiler Collection 3.3.1 uses standard setup scripts. You must type

setup gcc

to use this application. If you want to run this version of the software even if other versions are available, use gcc-3.3.1 instead of gcc in your setup statement.

See "helpme setup" for information on finding out what versions are available or what to do if the setup statement does not work.

Windows NT

You must enter these lines in any DOS window you wish to use gcc in.

set djgpp=g:\djgpp\djgpp.env

Running GNU Compiler Collection 3.3.1

To compile C code, type:

gcc -o <executable-name> <source-code-filename>

For C++, use g++ instead of gcc; for Fortran, use g77.


Other Information Resources

Other Topics of Interest