[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Why is libc-2.1.*.so not stripped?



Subject says it all:
   Why is the libc DLL not stripped on potato systems? It enlarges *every*
executable (linked dynamically!) by about 100k

Long Story:
I compiled a short gtk program that I wrote as an example to learn gtk
programming on a potato system. The executable (linked dynamically,
stripped) was > 100k in size.

Then I transferred the program to a slink system, compiled again, using the
same Makefile and presto, the size of the executable shrank to 7k stripped,
a much more reasonable size.

After much searching around I compiled the simplest hello world program on
the potato machine. source code like this:
-------------------------------------------------------------
#include <stdio.h>

int main(int argc, char **argv)
{
        printf("Hi folks\n");
}
-------------------------------------------------------------
again > 100k in size.

I doubt this is not a bug.

Nils

--
Plug-and-Play is really nice, unfortunately it only works 50% of the time.
To be specific the "Plug" almost always works.            --unknown source

Attachment: pgpEHh9Xu3Unf.pgp
Description: PGP signature


Reply to: