[Please don't post HTML to this list]

On Wed, Oct 15, 2003 at 09:44:31AM +0800, 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?

gcc's "-Os" option is the most likely to help -- it optimises the code for
small size.

-Andrew.

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

Reply via email to