[MPICH] getting gcc 4.2 easily without root access
Jeffrey B. Layton
laytonjb at charter.net
Sun Jun 10 10:53:21 CDT 2007
It's not too hard to build gcc 4.2 with gfortran and g++. It is
time consuming though :) Here are the options I used to build
it:
./configure --enable-languages=c,c++,fortran --enable-libgomp
The last option is for OpenMP libraries. I installed it in the
standard locations (/usr/local), but if you want to install it in
your /home then look at the --prefix= option.
Give it a try!
Jeff
> Hi
>
> Can someone recommend the easiest way to get a statically linked
> gcc 4.2 compiler on a CentOS 4.4 machine? I cannot use the rpms to
> install gcc 4.2 since that requires root access. Compiling gcc,
> gfortran, g++ seems very complicated and time consuming.
>
> Normally I use daily created gfortran snapshots (available from
> gfortran website) to install gcc, gfortran. But recently, I think, I
> might be hitting a bug in gcc 4.3 and would like to install gcc 4.2 to
> see if the problem is reproducible with gcc 4.2 as well.
>
> Any ideas?
>
> thanks
> raju
>
>
More information about the mpich-discuss
mailing list