[fpc-devel] Strange .EXE stripped issue
Peter Vreman
peter at freepascal.org
Mon Jan 21 13:33:26 CET 2008
> Hi,
>
> 2008/1/21, Jonas Maebe <jonas.maebe at elis.ugent.be>:
>>
>> On 21 Jan 2008, at 13:18, Fabio Dell'Aria wrote:
>>
>> > I have a little problem stripping my .EXE compiled file.
>> >
>> > The final size with the DEBUG symbols (from -gl flag) is: 65132 bytes
>> >
>> > (A) with "strip --strip-debug" become: 64583 bytes
>> >
>> > (B) with "strip --strip-unneeded" become: 39424 bytes
>> >
>> > Difference from (A) - (B) = 25159 bytes
>> >
>> > What data are stored into this 25159 bytes?
>>
>> Symbols.
>>
>> > How I can remove them?
>>
>> With --strip-unneeded
>
> No my questions is: How I can remove ONLY this symbols (not DEBUG sections)? :)
strip is a GNU binutils tool. Please ask on the binutils mailing lists.
Peter
More information about the fpc-devel
mailing list