size of executable - g95 vs gfortran42 - shared libs?

Kris Kennaway kris at FreeBSD.org
Thu Jun 5 13:31:23 UTC 2008


Anton Shterenlikht wrote:
> I use two different fortran90 compiler on a simple input file
> and get executables which differ in size by almost 3 orders of
> magnitude, see below. Is this something to do with the use
> of shared libraries?

You tell us :)  What does file tell you?

Kris

> 
> % gfortran42 tmp.f90
> % ls -al a.out
> -rwxr-xr-x  1 <xxx>  <zzz>    9179  5 Jun 14:15 a.out
> % g95 tmp.f90
> % ls -al a.out
> -rwxr-xr-x  1 <xxx>  <zzz>  546413  5 Jun 14:15 a.out
> %
> 
> The program results seem to be identical.
> 
> many thanks
> anton
> 



More information about the freebsd-questions mailing list