Re: libc, smart linking, binary size (elf/a.out)

Christopher J. Shaulis (cjs@netcom.com)
Sat, 27 Apr 1996 19:23:28 -0400 (EDT)


> Hi Herbert Rosmanith; On 26-Apr-96 you wrote:
>
> > salam,
>
> Salam Aleicum...
>
> > surprise, surprise, on an elf-system , the binary size is 160KB !!!!
> > on another machine, a a.out system, the binary size is 14KB.
> > jesus christ ...

If there is THAT much of a difference you are doing something VERY
wrong. Either you are accidentaly compiling the binary static (the
behavior of binutils changed for recent ELF utils) or you are compilng
-g, or you are forgetting to strip the binary, or something. There is
going to be some size difference, but not that much.

Christopher