Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: shared libs?
Date: Sat, 20 Jul 1996 20:42:15 -0500 (CDT)	[thread overview]
Message-ID: <d02a802da82a66fbe3b9860341f16c4d.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.91.960720200752.610A-100000@phoenix.acol.com>

Ben Goodwin <ben@acol.com> wrote:
> 
> I just installed the elfball from atheist.tamu.edu ..
> I'm compiling stuff ok, but the binaries still seem too
> big..  A simple hello test file produces only a 12k file, and 
> compiling with -static makes it 650k  .. so it does kinda seem to work.
> But compiling gawk as elf and all (no funky configuration involved),
> it comes to like 550k.. and what's more interesting, the RH 3.0.3 gawk is
> about 250k .. an ld on gawk shows:
> [tty1:phoenix.acol.com] [/work/gawk-2.15.6] # ldd gawk
>         libm.so.6 => /usr/lib/libm.so.6 (0x0000015555556000)
>         libc.so.6 => /lib/libc.so.6 (0x0000015555682000)
>         /lib/ld.so.1 => /lib/ld.so.1 (0x0000000000000000)

Even without -g, there is some amount of debugging information generated.
This minimal amount is there so that you can link some files with -g, some
without, and still be able to debug the -g files.

Stripping the binary will get rid of the info.  For a simple hello program
the unstripped size is 12865 and the stripped is 4768.

r~

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

       reply	other threads:[~1996-07-21  1:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.91.960720200752.610A-100000@phoenix.acol.com>
1996-07-21  1:42 ` Richard Henderson [this message]
1996-07-21  0:14 shared libs? Ben Goodwin
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox