[LUGOS-BLA] Re: [LUGOS-PROG] strip...tease

rok lugos at s-je.sik.si
Fri Jul 26 09:38:26 CEST 2002


On Thu, 25 Jul 2002, polz wrote:

> > -rwxrwxr-x   1 xxxx      xxxx        6332 Jul 25 15:11 hello
> A sem edini, ki se mu ne zdi prav, da pof... HELLO WORLD pozre
> 6K - BREZ KNJIZNIC ?
jst mam pa takle source:

---hello.c---
#include <stdio.h>
int main(void)
{ printf("Hello, world!\n"); return 0; }
---hello.c---

---na prvi masini
$ gcc --version
egcs-2.91.66

$ gcc -o hello hello.c && ls -l hello | awk '{print $5}'
11667

$ gcc -o hello hello.c && strip hello && ls -l hello | awk '{print $5}'
2996

$ gcc -static -o hello hello.c && ls -l hello | awk '{print $5}'
969945

$ gcc -static -o hello hello.c && strip hello && ls -l hello | awk '{print $5}'
211316

---na drugi masini
$ gcc --version
2.95.3

$ gcc -o hello hello.c && ls -l hello | awk '{print $5}'
13228

$ gcc -o hello hello.c && strip hello && ls -l hello | awk '{print $5}'
2960

$ gcc -static -o hello hello.c && ls -l hello | awk '{print $5}'
1575113

$ gcc -static -o hello hello.c && strip hello && ls -l hello | awk '{print $5}'
390516

a je to normalno? :>

lp, rok.




More information about the lugos-bla mailing list