Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
module load compilers/gcc-3.3

Installation

7.1.0

No Format
svn ls svn://gcc.gnu.org/svn/gcc/tags | grep gcc | grep release
>>>>>>>>>>>>>>>>>>>>>>>>>>
...
gcc_4_9_3_release/
gcc_4_9_4_release/
gcc_5_1_0_release/
gcc_5_2_0_release/
gcc_5_3_0_release/
gcc_5_4_0_release/
gcc_6_1_0_release/
>>>>>>>>>>>>>>>>>>>>>>>>>>>

svn co svn://gcc.gnu.org/svn/gcc/tags/gcc_7_1_0_release/

cd /sw/gcc/src/gcc-7.1.0
./contrib/download_prerequisites
---   Run from /sw/gcc/src/gcc-7.1.0
---   Do not cd to the contrib directory
>>>>>>>>>>>>
All prerequisites downloaded successfully.
>>>>>>>>>>>>

mkdir /sw/gcc/src/gcc-7.1.0/build
cd /sw/gcc/src/gcc-7.1.0/build
../configure --help 2>&1 | tee configureHelp.txt
The above command would list the configure options available
../configure --prefix=/sw/gcc/7.1.0 2>&1 | tee configureLog.txt
make 2>&1 | tee make.txt
make install 2>&1 | tee makeInstall.txt

 

Version 4.6.3

Reference: http://dipak-dudhabhate.blogspot.com.au/

...