[Lazarus] Compiling Win 64 bit LCL only with 32 bit IDE+cross compiler

Reinier Olislagers reinierolislagers at gmail.com
Mon Apr 23 17:51:17 CEST 2012


On 23-4-2012 12:28, Reinier Olislagers wrote:
> Method 3: I'm now trying someting like this:
> make "CPU_TARGET=x86_64" "OS_TARGET=win64" "registration" "lazutils" "lcl"
> ...list of dependencies taken from
> http://wiki.lazarus.freepascal.org/Getting_Lazarus#Make_parameters
> 
> but I get
> Compiling fcllaz.pas
> Compiling registerfcl.pas
> Compiling lazaruspackageintf.pas
> PPU Loading
> C:\development\fpc\units\x86_64-win64\fcl-extra\ServiceManager.ppu
> Recompiling ServiceManager, checksum changed for System
> registerfcl.pas(43,3) Fatal: Can't find unit ServiceManager used by
> RegisterFCL
> Fatal: Compilation aborted
> 
> What would be the right way to achieve my goal?
> Would it perhaps be possible to let make LCL automatically pull in its
> dependencies?
> 
Mmm... deleting all ppu files helped.

It at least compiles with fixes 2.6 - not with trunk, though:
Compiling treefilteredit.pas
treefilteredit.pas(28,48) Fatal: Internal error 2011090501
TExternalToolList.Run Exception:
C:\development\lazarus_fpctrunk\components\lazcontrols\treefilteredit.pas(28,48)
Fatal: Internal error 2011090501
ERROR: tool reported error

The user will still trigger a recompile of the LCL when compiling his
first x64 application though...

Thanks,
Reinier





More information about the Lazarus mailing list