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 statical
Anton Shterenlikht wrote:
On Thu, Jun 05, 2008 at 06:29:35AM -0700, Tobias Hoellrich 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?
> % 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 =>
On Thu, Jun 05, 2008 at 06:29:35AM -0700, Tobias Hoellrich 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?
>
> Ru
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 t
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Anton Shterenlikht
> Sent: Thursday, June 05, 2008 7:21 AM
> To: freebsd-questions@freebsd.org
> Subject: size of executable - g95 vs gfortran42 - shared libs?
>
> I
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 9179 5 Jun 14:15 a.out
% g95 tmp.f90