Date: Thu, 5 Jun 2008 14:21:06 +0100 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: freebsd-questions@freebsd.org Subject: size of executable - g95 vs gfortran42 - shared libs? Message-ID: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080605132106.GA51988>