[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: to reduce footprint
From: |
Danny Boelens |
Subject: |
Re: to reduce footprint |
Date: |
Tue, 19 Dec 2006 10:13:30 +0100 |
----- Original Message -----
From: "Lin George" <address@hidden>
To: <address@hidden>
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
- to reduce footprint, Lin George, 2006/12/18
- Re: to reduce footprint, Lin George, 2006/12/20
- Re: to reduce footprint, Lin George, 2006/12/21
- Re: to reduce footprint, Lin George, 2006/12/21
- Re: to reduce footprint, Lin George, 2006/12/23
- Re: to reduce footprint, Lin George, 2006/12/24