Re: [amusement] Petit Hello, World!

トップ ページ

このメッセージに返信
著者: Ika OSCAOS
日付:  
To: guilde
題目: 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