> > I
just compiled the C hello world program under Linux 2.2.12 with
> >egcs-2.91.66 and got the following:
> >-rwxrwxr-x 1 spc spc 932131 Aug 22 21:32 hello
> > Okay, granted, I compiled it statically (if I compiled normally, it
> > would
> >be 11,811 bytes in size 8-) but still, nearly a megabyte there!
Here's another datapoint on FreeBSD intel x86 gcc 2.95.3.
Stripped statically linked is ~44k, dynamic is ~2.8k not too bad.
Here's AIX 4.1.4, and an old gcc that works fine here:
stockholm:/home/spectre/src/% cat hello.c ; ls -l a.out ; file a.out ; gcc --version
#include <stdio.h>
void main(int argc, char **argv) {
printf("Hello world!\n");
exit(0);
}
-rwxr-xr-x 1 spectre staff 7545 Aug 23 05:53 a.out*
a.out: executable (RISC System/6000) or object module not stripped
2.7.2.2
--
----------------------------- personal page:
http://www.armory.com/~spectre/ --
Cameron Kaiser, Point Loma Nazarene University * ckaiser(a)stockholm.ptloma.edu
-- TRUE HEADLINE: Police To Begin Campaign To Run Down Jaywalkers -------------