gcc is the GNU project C compiler.
The software package consists of the gcc, g++, and gfortran compilers, libraries, and man pages.
- gcc is the executable a user runs to invoke the cc compiler. It lives in bin.
- g++ is the executable a user runs to invoke the c++ compiler. It lives in bin.
- gfortran is the executable a user runs to invoke the fortran compiler. It lives in bin.
The gcc package is available for the Linux operating system only.
If you have not already done so, install the its-release package that grants access to ITS’s yum repository.
Install the latest release as follows:
% sudo yum install gcc-unc
Files are installed in /opt/unc.
The latest version is gcc 5.2.0. Vendor release date: July 16, 2015.
gcc 4.9.2 is also available. Vendor release date: October 30, 2014.
This package can be managed using the lpm command.
% sudo yum install lpm-unc % lpm load gcc
will set the PATH, LD_LIBRARY_PATH, and MANPATH environment variables so that the gcc binaries, libraries, and manpage can be accessed.