This is the mail archive of the
mailing list for the glibc project.
Re: Statically linked binary way way too big
- From: "Steven J. Hill" <sjhill at realitydiluted dot com>
- To: vda at port dot imtp dot ilyichevsk dot odessa dot ua
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 16 Oct 2002 14:05:51 -0500
- Subject: Re: Statically linked binary way way too big
- References: <200210160532.g9G5Wwp28222@Port.imtp.ilyichevsk.odessa.ua>
Denis Vlasenko wrote:
I needed to statically link an application.
I ended up with a.out of 406400 bytes after strip.
Based on release announcements ("we don't want
to hear about size") and discussions with Linus
seen in archive I know that glibc does not try
to minimize library size, but nearly half a megabyte
can never be right.
Is there some problems with linker? Does it discard
all unused sections?
You might have a look at uClibc (http://www.uclibc.org/).
We care about size of applications and the libraries. You
might have better luck with it.