well wrote:
> Hi All
>  
>     I'm working on downsizing a huge object code. It's compiled by gcc 
> and linked by ld.
> For downsizing it, I remove "-g" to remove debug message. That's really 
> helpful and the code size is smaller but not enough.
> I read gcc manual but it doesn't say if parameter will increase object 
> codesize.
> Do you know any other parameters of gcc and ld may increase object codesize?
>  
> Any suggestions will be appreciate.
>  
> W.L. in Taiwan
> 

Try running strip on the resulting binary.

Cheers
-Rod

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to