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:
- gcc is available on all Unix and Windows workstations.
- The g77 fortran compiler is not available under HP/UX 11.11.
- If you are set up to run Gnat, g++ will not be able to locate any C++ header files (such as iostream.h). It is not yet clear whether gcc will work correctly in this case.
- Some Unix workstations come with an older version of gcc installed by the vendor. If the command "
gcc --version" does not list the right version, follow the setup steps to make this version available instead.
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
to use this application. If you want to run this version
of the software even if other versions are available,
gcc-3.3.1 instead of
See "helpme setup" for
information on finding out what versions are available or
what to do if the
setup statement does not
You must enter these lines in any DOS window you wish to use gcc in.
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.
- If you perform the setup step for gcc, you will automatically be set up to use the GNU utilities as your default.
Other Information Resources
Other Topics of Interest