Dear list, Since lazarus has changed default debug info to dwarf, packages that are automatically compiled are systematically compiled with dwarf debug info. In a wince cross compiling environment this particularly annoying since the 2.4.4 wince cross compiler (actually the cross assembler provided with it) doesn't support the .secrel32 pseudo command issued by the compiler for debug info http://bugs.freepascal.org/view.php?id=20362. Configuring the lazarus build settings to stabs or no debug doesn't help. Project settings aren't changing anything either. How can I change the default compiler settings for packages? Am I missing something or is this a bug? Other than the dwarf problem, how to compile code without debug info in the packages?
To reproduce the problem: in a new lazarus wince cross environment drop a tmemdataset on a form. Set project options to create stabs. Compile. Aborts with G:\lazarusce\components\memds\lib\arm-wince\wince\frmselectdataset.s:1521: Error: unknown pseudo-op: `.secrel32' Makefile.compiled for memds package says: <?xml version="1.0"?> <CONFIG> <Makefile Value="True"/> <Params Value=" -MObjFPC -Scgi -O1 -gw2 -godwarfsets -gl -vewnhi -l -Fu../../ideintf/units/%(CPU_TARGET)-%(OS_TARGET);../../lcl/units/%(CPU_TARG ET)-%(OS_TARGET)/%(LCL_PLATFORM);../../lcl/units/%(CPU_TARGET)-%(OS_TARGET); ../../packager/units/%(CPU_TARGET)-%(OS_TARGET);. -dLCL -dLCL%(LCL_PLATFORM) memdslaz.pas"/> </CONFIG> Project options are: -MObjFPC -Scghi -O3 -OoREGVAR -Twince -Parm -gs -gl -WG -vewnhi .... Svn 32410 Thanks, Ludo -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
