* shared libs?
@ 1996-07-21 0:14 Ben Goodwin
0 siblings, 0 replies; 2+ messages in thread
From: Ben Goodwin @ 1996-07-21 0:14 UTC (permalink / raw)
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)
So I'm not quite sure what's going on. I also show:
[tty1:phoenix.acol.com] [/work/gawk-2.15.6] # file gawk
gawk: ELF 64-bit LSB executable, version 1
apache compiles to 350k, less compiles to 450k etc ..
Can anyone help shed light on this?
(the elfball is gcc 2.7.2 (snapshot 960712), ld is 2.7 (with BFD 2.7),
and kernel 2.0.7 with ELF (obviously) support from the axp-2.0.7 patch.
TIA,
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
: Benjamin C. Goodwin - ben@acol.com :
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: shared libs?
[not found] <Pine.LNX.3.91.960720200752.610A-100000@phoenix.acol.com>
@ 1996-07-21 1:42 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1996-07-21 1:42 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-07-21 1:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-21 0:14 shared libs? Ben Goodwin
[not found] <Pine.LNX.3.91.960720200752.610A-100000@phoenix.acol.com>
1996-07-21 1:42 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox