On Thu, 26 Feb 2004, Peter Jay Salzman wrote: > although i didn't compile the function with "-g", file reports the > executable as unstripped: > > [EMAIL PROTECTED] file hello2 > hello2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for > GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped > > so let's strip it: > > [EMAIL PROTECTED] strip hello2
You can strip the program during compilation using the -s option. You might also wanna pass -g0 to suppress any debugging information (usually makes no difference but you never know): gcc -g0 -s hello2.c -o hello2 -Mark -- Mark K. Kim AIM: markus kimius Homepage: http://www.cbreak.org/ Xanga: http://www.xanga.com/vindaci Friendster: http://www.friendster.com/user.jsp?id=13046 PGP key fingerprint: 7324 BACA 53AD E504 A76E 5167 6822 94F0 F298 5DCE PGP key available on the homepage _______________________________________________ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
