This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Statically linked binary way way too big


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]