This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Statically linked binary way way too big
- From: Denis Vlasenko <vda at port dot imtp dot ilyichevsk dot odessa dot ua>
- To: Momchil Velikov <velco at fadata dot bg>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 16 Oct 2002 10:20:34 -0200
- Subject: Re: Statically linked binary way way too big
- References: <200210160532.g9G5Wwp28222@Port.imtp.ilyichevsk.odessa.ua> <87it02oo01.fsf@fadata.bg>
- Reply-to: vda at port dot imtp dot ilyichevsk dot odessa dot ua
On 16 October 2002 05:13, Momchil Velikov wrote:
> >>>>> "Denis" == Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
> >>>>> writes:
>
> Denis> Oh, and here is the source code of that program:
>
> Denis> int main() {
> Denis> return 0;
> Denis> }
>
> So, what's wrong ? This program being 400k does not imply a 6-lines
> program would be 800k.
I know. Basically we suck in half of C lib into empty program.
> In a real program startup file costs will
> quickly disseminate throughout the useful code. (that's not to imply
> the startup files are not useful ;)
A real program (part of glibc): sln
--
vda