Re: libgfortran.so and libgfortra.a statically link program

2012-08-07 Thread Ian Lance Taylor
On Tue, Aug 7, 2012 at 7:49 PM, benzhi cao wrote: > Hi, > recently I use the gcc 4.4 to compile fortran programs.and then > I use ld to link these programs . Please never send messages to both gcc@gcc.gnu.org and gcc-h...@gcc.gnu.org. This message is appropriate for gcc-help; it is not app

libgfortran.so and libgfortra.a statically link program

2012-08-07 Thread benzhi cao
Hi, recently I use the gcc 4.4 to compile fortran programs.and then I use ld to link these programs .But the ELF I get is a dynamic link file.However I want to link these files statically for the reason that I want the VirtAdd of LOAD to be determined in an ELF,so I use the -Bstatic -lgfortra