[Lazarus] RE : Debug info for packages
Ludo Brands
ludo.brands at free.fr
Fri Oct 7 14:07:33 CEST 2011
>
> I think you would need to open each .lpk and change the
> debugging info in it by hand.
>
That is the workaround I suggested for the wince suggestion.
> I think the options you enter in Build Lazarus Options are
> applied to each package as well (the $(IDEBuildOptions)
> macro) and they are applied at the end of the FPC command
> line. So maybe if you used something like "-g-" in the Build
> Lazarus Options then it would disable debugging info for all
> packages? Or "-g-s" would overwrite it to Stabs. I haven't
> tried that however.
>
While the Build Lazarus options are -O2 -g- -Xs , sqlite3laz( and all other
packages) is compiled with:
sqlite3laz.compiled:
<?xml version="1.0"?>
<CONFIG>
<Compiler Date="1060328717"
Value="C:\lazarus\fpc\svn\bin\i386-win32\fpc.exe"/>
<Params Value=" -MObjFPC -Scgi -O1 -g -gl -vewnhi -l
-FuC:\lazarus\ideintf\units\i386-win32
-FuC:\lazarus\lcl\units\i386-win32\win32 -FuC:\lazarus\lcl\units\i386-win32
-FuC:\lazarus\packager\units\i386-win32 -FuC:\lazarus\components\sqlite\
-FUC:\lazarus\components\sqlite\lib\i386-win32\win32\ -dLCL -dLCLwin32
sqlite3laz.pas"/>
</CONFIG>
Ludo
More information about the Lazarus
mailing list