This is what I get with compiling a simple file:
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), not stripped
I have tried with different options including -g, -O, -O3, but it is always non-stripped. The -g option produced a file that was about twice as big as the others. Is it possible that the "gcc -g" file was the only non-stripped one and my "file" command is acting funny?