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 6.3.0. Vendor release date: December 21, 2016.
This package can be managed using the lpm command.
% 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.