So why do not use the dwarf debug format (excuse my ignorance) ?

2008/1/15, Peter Vreman <[EMAIL PROTECTED]>:
>
> > 1)...the additional options are needed to can debug the project;
> > 2)...just do a simple "strip --strip-all filename" reduce drastically
> the
> > final size (an empty project go from 12.5Mb to 1.2 Mb).
> >
> > I think to have found a really simple solution to can continue to debug
> our
> > project with a really little size increasing.
> >
> > Just remove all the debug-info from all the LCL object files to reduce
> the
> > final compiled file from 12.5Mb to ONLY 2Mb (on Windows).
>
> If the debugger gdb can support the dwarf debug info the size of the
> binary will be already a lot
> smaller. So it isn't a problem of FPC but of the debuggers what debuginfo
> is supported. See below
> what the difference on the lazarus binary:
>
> ~/lazarus>>> ls -l lazarus-*
> -rwxr-xr-x 1 pvreman kmem 25630931 Jan 15 13:00 lazarus-dwarf
> -rwxr-xr-x 1 pvreman kmem 74177091 Jan 15 13:02 lazarus-stabs
> -rwxr-xr-x 1 pvreman kmem  9423528 Jan 15 13:00 lazarus-stripped
>
>
>
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
>



-- 
Best regards...

Fabio Dell'Aria.

Reply via email to