Date: Thu, 5 Jun 2008 13:57:49 +0000 From: "=?ISO-8859-1?Q?S=E9bastien_Morand?=" <seb.morand@gmail.com> To: "Tobias Hoellrich" <thoellri@adobe.com>, freebsd-questions@freebsd.org Subject: Re: size of executable - g95 vs gfortran42 - shared libs? Message-ID: <16d3abd60806050657p7669b92fu485ae027e3e2ba4@mail.gmail.com> In-Reply-To: <20080605135015.GA52233@mech-aslap33.men.bris.ac.uk> References: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> <E891374F64B9194FB5BFFF28935811CA02A3EC77@namail2.corp.adobe.com> <20080605135015.GA52233@mech-aslap33.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
> % ldd *.out > g95.out: > libm.so.5 => /lib/libm.so.5 (0x280c5000) > libc.so.7 => /lib/libc.so.7 (0x280db000) > gf42.out: > libgfortran.so.2 => /usr/local/lib/gcc-4.2.4/libgfortran.so.2 (0x2807e000) > libm.so.5 => /lib/libm.so.5 (0x28103000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28119000) > libc.so.7 => /lib/libc.so.7 (0x28124000) > % In the first one the library fortran is directly included in your exec file, so the file is bigger. It looks like you have only a static version of the g95 installed, and then the library is included in the final program
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16d3abd60806050657p7669b92fu485ae027e3e2ba4>