[MPICH] getting gcc 4.2 easily without root access

Kamaraju Kusumanchi kamaraju at gmail.com
Sun Jun 10 18:45:50 CDT 2007


On 6/10/07, Jeffrey B. Layton <laytonjb at charter.net> wrote:
> 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
>

I finally bit the bullet and compiled the monster. It seems to be
working. I have couple of questions.

1. How do I know whether I built static or shared libraries?

I just configured the whole gcc suite with

~/software/unZipped/gcc-4.2.0/configure
--prefix=/home/raju/software/compiledSoftware/gcc_4.2.0_20070514 2>&1 | tee
configure.log

2. Can I take the compiled binaries i.e.
~/software/compiledSoftware/gcc_4.2.0_20070514 onto some other Linux
machine and run the executables there? How should I configure the
code, to get this kind of functionality?

thanks
raju




More information about the mpich-discuss mailing list