size of executable - g95 vs gfortran42 - shared libs?
Anton Shterenlikht
mexas at bristol.ac.uk
Thu Jun 5 13:21:11 UTC 2008
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?
% 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
--
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