----- Original Message ----- 
From: "Lin George" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, December 19, 2006 3:44 AM
Subject: to reduce footprint


> Hello everyone,
>
> I am wondering how to reduce the footprint of a binary build (C/C++)
> program generated by gcc.
>
> 1. Any ideas of reduce the footprint of a debug version build?
> 2. Any ideas of reduce the footprint of a release version build?
> I think some linker or compiler options may help, what are they?
> Any other ideas to reduce footprint?

I'm not an expert in the field, but I know there might be a few linker flags
that can help you. For instance, ld (on Linux) has the '-s' or '-S' option
(see the ld manual for more info). I also suggest you take a look at
'strip'; that command is probably what you're looking for. Once again, the
manual can tell you far more than I can ;-)

Hope this helps,
Danny



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to