User Tools

Site Tools


acelab:gcc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
acelab:gcc [2015/09/24 11:22]
mcawood
acelab:gcc [2021/12/09 16:42] (current)
Line 4: Line 4:
   cd /data/scratch   cd /data/scratch
  
-Download the sources required from the following FTP servers: +Download the source required from the following FTP servers: \\
-GMP: http://ftp.gnu.org/gnu/gmp/  +
-MPFR: http://ftp.gnu.org/gnu/mpfr/  +
-MPC: http://ftp.gnu.org/gnu/mpc/ +
 GCC: http://ftp.gnu.org/gnu/gcc/ GCC: http://ftp.gnu.org/gnu/gcc/
  
Line 13: Line 10:
   yum install glibc-devel.i686 glibc glibc-devel glibc-static   yum install glibc-devel.i686 glibc glibc-devel glibc-static
  
-Compile dependencies+Setup GCC prerequisites: 
-  tar -xf gmp-x.x.x.tar.gz +   
-  cd gmp-x.x.x +  tar -xf gcc-x.x.x.tar.gz 
-  ./configure --prefix=/opt/gmp-x.x.x  +  cd gcc-x.x.x 
-  make -j4 +  ./contrib/download_prerequisites 
-  make install+  
  
-  cd .. +Compile GCC:
-  tar -xf mfpr-x.x.x.tar.gz +
-  cd mfpr-x.x.x +
-  ./configure --prefix=/opt/mfpr-x.x.x --with-gmp=/opt/gmp-x.x.x +
-  make -j4 +
-  make install+
  
-  cd ..  +  ./configure --prefix=/opt/gcc-x.x.x --disable-multilib
-  tar -xf mpc-x.x.x.tar.gz +
-  cd mpc-x.x.x +
-  ./configure --prefix=/opt/mpc-x.x.x --with-gmp=/opt/gmp-x.x.x --with-mpfr=/opt/mpfr-x.x.x+
   make -j4   make -j4
   make install   make install
- 
-Compile GCC: 
-   
-  export LD_LIBRARY_PATH=/opt/gmp-x.x.x:/opt/mfpr-x.x.x:/opt/mpc-x.x.x:$LD_LIBRARY_PATH 
- 
-  cd .. 
-  tar -xf gcc-x.x.x.tar.gz 
-  cd gcc-x.x.x 
-  ./configure --prefix=/opt/gcc-x.x.x --with-gmp=/opt/gmp-x.x.x --with-mpfr=/opt/mpfr-x.x.x --with-mpc=/opt/mpc-x.x.x 
-  make -j16 
-  make install 
- 
/app/dokuwiki/data/attic/acelab/gcc.1443086565.txt.gz · Last modified: 2021/12/09 16:42 (external edit)