[Lazarus] Cross-compiling to win32 from debian stretch

kardan kardan at riseup.net
Tue Nov 28 00:41:38 CET 2017

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

#ifdef cpui8086


# searchpath for fppkg user-specific packages

~/.fpkg does not exist, but there is another version in /etc:

$ ls /etc/fpc*
/etc/fpc-3.0.0.cfg  /etc/fpc.bak  /etc/fpc.cfg  /etc/fpc.cfg.bak

$ diff /etc/fpc.cfg /etc/fpc-3.0.0.cfg
< # Config file generated by fpcmkcfg on 21-11-17 - 14:07:55
> # Config file generated by fpcmkcfg on 10-11-17 - 07:19:33
< -FM/usr/lib/fpc/../../share/fpc/$fpcversion/unicode/
> -FM/unicode/
> # multiarch library search path
> -Fl/usr/lib/$fpctarget-*
> # Third party units should be installe in a, multi-arch compatible location.
> # Units should be installed in /usr/lib/$fpctarget-gnu/fp-units-2.6.2/$pkg/.
> # Ech fp-units package should install a configuration file called $pkg.cfg in
> #CFGDIR /etc/fpc-$fpcversion.cfg.d/$fpctarget

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


More information about the Lazarus mailing list