el7-gcc-updater
is a shell script designed to assist root users in building various versions of gcc on CentOS 7.
Before run this script, please install necessary development tools:
yum install epel-release -y
yum groupinstall "Development Tools" -y
yum install texinfo -y
./el7-gcc-updater.sh gcc=<version> des=<directory> [-j <number>]
Options:
gcc=<version> Specify the GCC version
des=<directory> Specify the install directory
-j <number> Specify the number of compiling threads
./gen-modulefile.sh des=<directory> [-o <modulefile>]
Options:
des=<directory> Specify the gcc install directory
-o <modulefiler> Specify the output modulefile