[fpc-devel] Could someone verify this WinCE issue (andmaybecheck with other FPC versions also)

Ludo Brands ludo.brands at free.fr
Wed Oct 5 11:44:23 CEST 2011


> I really don't know how to do that. I think I should modify 
> the Command 
> lien options which are currently the : "-O2 -g- -Xs"
> 

These settings are fine. -g- means no debugging info.

> By changin it into the
> 
> "-O2 -gl -Xs" (just a guess by the  Message linker earlier) the IDE 
> won't build :(
> 
> PPU Loading 
> C:\lazarus\components\codetools\units\i386-win32\laz2_xmlcfg.ppu
> PPU Source: laz2_xmlcfg.pas not found
> Recompiling Laz2_XMLCfg, checksum changed for FileProcs
> laz2_xmlcfg.pas(64,58) Fatal: Can't find unit Laz2_XMLCfg 
> used by LazUtils
> 
> I don't have idea what causes this one...
> 

With above setings ("-O2 -g- -Xs"), check clean + build IDE, check "Clean
all" and do a build.  

> >
> > Also check your fpc.cfg for any dwarf settings. In the 
> messages box do 
> > a right click and do a "copy all shown and hidden messages to the 
> > clipboard", paste into any editor and check the path used 
> for fpc.cfg
> >
> 
> To me the file looks like very basic and default. But I am 
> not sure what 
> should be in thee to get rid of this dwarf, thingy....
> 
> -TP-

Your main problem is that you are using probably old cross binutils for
arm-wince. The assembler found here
ftp://ftp.freepascal.org/pub/fpc/contrib/cross/arm-wince-binutils.zip is
version 2.15.94 while .secrel32 was introduced in 2.16.
You could check here for a newer version (cygwin required!):
http://sourceforge.net/projects/cegcc/

Ludo




More information about the fpc-devel mailing list