From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 13:29:35 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 3A1711065670 for ; Mon, 9 Jun 2008 13:29:35 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id E6C4D8FC16 for ; Mon, 9 Jun 2008 13:29:34 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1K5hRA-0000tC-G2; Mon, 09 Jun 2008 14:29:33 +0100 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1K5hR9-000265-LE; Mon, 09 Jun 2008 14:29:27 +0100 Received: from mech-aslap33.men.bris.ac.uk (localhost [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m59DTRjU021003; Mon, 9 Jun 2008 14:29:27 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m59DTQbA020989; Mon, 9 Jun 2008 14:29:26 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 9 Jun 2008 14:29:26 +0100 From: Anton Shterenlikht To: Kris Kennaway Message-ID: <20080609132926.GA18121@mech-aslap33.men.bris.ac.uk> Mail-Followup-To: Kris Kennaway , Tobias Hoellrich , freebsd-questions@freebsd.org References: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> <20080605135015.GA52233@mech-aslap33.men.bris.ac.uk> <4847F31B.7090404@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4847F31B.7090404@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Spam-Score: -1.4 X-Spam-Level: - Cc: Tobias Hoellrich , freebsd-questions@freebsd.org 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: Mon, 09 Jun 2008 13:29:35 -0000 On Thu, Jun 05, 2008 at 04:07:23PM +0200, Kris Kennaway wrote: > Anton Shterenlikht wrote: > >g95.out: > > libm.so.5 => /lib/libm.so.5 (0x280c5000) > > libc.so.7 => /lib/libc.so.7 (0x280db000) > > ^-- this one doesn't link to a dynamic fortran library, so it is > presumably statically linked, explaining the size. Look into how the > file was constructed (e.g. the command used to link the binary). > Kris, many thanks. I have confirmed this with Andy Vaught (g95 main developer). -- 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