[EMAIL PROTECTED] wrote:

> 
$ ls -l a.out
> -rwxr-xr-x    1 kwall    users       24234 Dec 20 15:03 a.out*

> 
> The standard "Hello, World!" program compiled without debugging
> symbols (gcc hello.c):
> 
> $ ls -l a.out
> -rwxr-xr-x    1 kwall    users       13250 Dec 20 15:03 a.out*
> 
> After stripping the binary:
> 
> $ strip a.out
> $ ls -l a.out
> -rwxr-xr-x    1 kwall    users        2984 Dec 20 15:15 a.out*
> 
> Quite the difference in size.
> 


Why? As it was explained to me, and as I read in the man page, *strip* 
"discards all symbols". What does it to the binary without debugging 
symbols compiled in to get such a large filesize difference? What 
*symbols* are compiled in other than debugging symbols?
<not that it matters, just curious...>
Regards,
Tim


_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to