building static libraries

Kamaraju S Kusumanchi kamaraju@bluebottle.com
Fri Jun 22 00:30:00 GMT 2007


Hi
    On a CentOS 4.4 machine, I recently compiled gcc, gfortran, g++ 4.2
using the command

~/software/unZipped/gcc-4.2.0/configure
--prefix=/home/raju/software/compiledSoftware/gcc_4.2.0_20070514

After installation, I have

$gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured
with: /home/raju/software/unZipped/gcc-4.2.0/configure --prefix=/home/raju/software/compiledSoftware/gcc_4.2.0_20070514
Thread model: posix
gcc version 4.2.0


What I would like to know is

1) How can I find out If the libraries I built are static libraries or
dynamic libraries?

2) How can I build just static libraries? I know this is currently being
done on a daily basis at
http://quatramaran.ens.fr/~coudert/gfortran/gfortran-linux.tar.gz . I want
to do the same thing, but by myself. The reason for doing it myself is that
the above tar ball does not contain g++ (the c++ compiler) and I want to
build mpich2 libraries with c++ and fortran support.

thanks
raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/



More information about the Fortran mailing list