[Lazarus] Cross-compiling to win32 from debian stretch

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 28 11:36:25 CET 2017


On Tue, 28 Nov 2017 00:41:38 +0100
kardan via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> Really appreciate the fast reply!
> 
> On Tue, 28 Nov 2017 00:20:29 +0100
> Mattias Gaertner via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> 
> > Check your -Fu paths in /etc/fpc.cfg. They should contain the
> > paths to fpc's i386-win32 ppu files.
> > 
> > Mattias  
> 
> This is what i found related to -Fu in /etc/fpc.cfg:
> 
> # searchpath for units and other system dependent things
> -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
> -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
> -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl

And where are your fpc's i386-win32 ppu files?

> From that I can't see why 3.0.4rc1 is used for win32.

Maybe ppc386 is in the PATH.
fpc -Pi386 -Twin32

You can specify the compiler that lazbuild uses with --compiler=

Mattias


More information about the Lazarus mailing list