size of executable - g95 vs gfortran42 - shared libs?

Anton Shterenlikht mexas at bristol.ac.uk
Mon Jun 9 13:29:35 UTC 2008


On Thu, Jun 05, 2008 at 04:07:23PM +0200, Kris Kennaway wrote:
> Anton Shterenlikht wrote:
> >g95.out:
> >        libm.so.5 => /lib/libm.so.5 (0x280c5000)
> >        libc.so.7 => /lib/libc.so.7 (0x280db000)
> 
> ^-- this one doesn't link to a dynamic fortran library, so it is 
> presumably statically linked, explaining the size.  Look into how the 
> file was constructed (e.g. the command used to link the binary).
> 

Kris, many thanks.
I have confirmed this with Andy Vaught (g95 main developer).

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list