58Fermer60
squalylLe 09/08/2007 à 16:57
[squalyl@localhost ~]$ gcc truc.c -o a.out
[squalyl@localhost ~]$ g++ truc.c -o b.out
[squalyl@localhost ~]$ ll *.out
-rwxr-xr-x 1 squalyl users 4726 Aug  9 16:56 a.out
-rwxr-xr-x 1 squalyl users 5187 Aug  9 16:56 b.out
[squalyl@localhost ~]$ strip *.out
[squalyl@localhost ~]$ ll *.out
-rwxr-xr-x 1 squalyl users 2940 Aug  9 16:56 a.out
-rwxr-xr-x 1 squalyl users 3336 Aug  9 16:56 b.out
[squalyl@localhost ~]$


même code exactement grin #chieur#

mieux:

[squalyl@localhost ~]$ gcc -O3 truc.c -o a.out
[squalyl@localhost ~]$ g++ -O3 truc.c -o b.out
[squalyl@localhost ~]$ strip *.out
[squalyl@localhost ~]$ ll *.out
-rwxr-xr-x 1 squalyl users 2956 Aug  9 16:58 a.out
-rwxr-xr-x 1 squalyl users 3352 Aug  9 16:58 b.out