Date: Thu, 05 Jun 2008 15:31:24 +0200 From: Kris Kennaway <kris@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: size of executable - g95 vs gfortran42 - shared libs? Message-ID: <4847EAAC.1000303@FreeBSD.org> In-Reply-To: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> References: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4847EAAC.1000303>