[fpc-devel] A Compiled file size solution from the GBD mailing-list

Bogusław Brandys brandys at o2.pl
Wed Jan 16 22:25:36 CET 2008


Michael Van Canneyt wrote:
> 
> On Wed, 16 Jan 2008, Peter Vreman wrote:
> 
>> At 13:17 16-1-2008, you wrote:
>>> Marco van de Voort wrote:
>>> >from _EXECUTABLE_ file FILE, iow you still need the unstripped exe.
>>>
>>> Perhaps it doesn't need the .text, .data, .bss etc sections though.
>> I also posted this on Lazarus mailing list already.
>>
>> Below are the 2 commands to make it working. In the first command only the
>> debug information is kept in lazarus.dbg. And the second is the already know
>> way to strip the debug information.
>>
> [cut]
>> And as a final note: Yes, it is possible to fix fpc to write such a .dbg file
>> also.
> 
> Didn't we receive a patch from the Morfik people which did exactly this ? 
> I remember that we had an email-conversation about it, and I also
> seem to remember applying a patch ?
> 
> Michael.

Could stack trace generation also have ability to use such .dbg file to 
create full stack trace instead of addresses only for stripped 
executable ? It would be similar to the C++ behavior.


Regards
Boguslaw





More information about the fpc-devel mailing list