Re: [amusement] Petit Hello, World!

Top Page

Reply to this message
Author: Ika OSCAOS
Date:  
To: guilde
Subject: Re: [amusement] Petit Hello, World!

Sur RedHat 8.0 (2.4.18-14smp) GCC 3.2-7

[ika@gimli ika]$ more test.c
int main() { write(0, "Hello, world!\n", 14); return 0; }
[ika@gimli ika]$ gcc -o test test.c
[ika@gimli ika]$ wc -c test
11368 test
[ika@gimli ika]$ strip test
[ika@gimli ika]$ wc -c test
2696 test
[ika@gimli ika]$ ./test && echo ni!
Hello, world!
ni!
[ika@gimli ika]$

GCC: (GNU) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)


--
Ika

Selon Pierre Pronchery <khorben@???>:

> khorben@pinge:~$ strip test 
> khorben@pinge:~$ wc -c test
>    2784 test