From owner-freebsd-questions@FreeBSD.ORG Thu Jun 5 13:31:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9AF51065671 for ; Thu, 5 Jun 2008 13:31:23 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 419538FC14 for ; Thu, 5 Jun 2008 13:31:23 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4847EAAC.1000303@FreeBSD.org> Date: Thu, 05 Jun 2008 15:31:24 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> In-Reply-To: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: size of executable - g95 vs gfortran42 - shared libs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2008 13:31:23 -0000 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 9179 5 Jun 14:15 a.out > % g95 tmp.f90 > % ls -al a.out > -rwxr-xr-x 1 546413 5 Jun 14:15 a.out > % > > The program results seem to be identical. > > many thanks > anton >