Hi,
I have a project built and running under linux. I set project options to build for win64 (default target) and it compiles fine. Now I try to build for i386 and I'm getting the old chestnut:
fcllaz.pas(11,3) Error: Cannot find db used by fcllaz of package FCL.
When I swap target it says there's no fpc.cfg. Clearly there is because I've run two separte builds already.
I'm building from recent master for both fpc and lazarus.
Lazarus 2.3.0 (rev main-2_3-2165-gc63984efd6) FPC 3.3.1 x86_64-linux-gtk2
fpc -v
Free Pascal Compiler version 3.3.1 [2022/10/22] for x86_64
Copyright (c) 1993-2022 by Florian Klaempfl and others
which ppcross386
/bin/ppcross386
ppcrossx64 -v
Free Pascal Compiler version 3.3.1 [2022/10/22] for x86_64
Copyright (c) 1993-2022 by Florian Klaempfl and others
ppcross386 -v
Free Pascal Compiler version 3.3.1 [2022/10/22] for i386
Copyright (c) 1993-2022 by Florian Klaempfl and others
ls -ail `which ppcross386`
1462230 lrwxrwxrwx. 1 root root 35 Oct 27 10:40 /bin/ppcross386 -> /usr/local/lib/fpc/3.3.1/ppcross386
I had this working at one point but during multiple reinstallations it seems to have gone astray.
I just reran the installation process from my notes to be sure. Same result.
make crossinstall OS_TARGET=win32 CPU_TARGET=i386 INSTALL_PREFIX=/usr/local
Entering directory '~/FPCSource/packages'
./fpmake install --localunitdir=.. --os=win32 --cpu=i386 -o -Twin32 -o -Pi386 -o -XPi386-win32- -o -Ur -o -Xs -o -O2 -o -n -o -di386 -o -dRELEASE --compiler=~/FPCSource/compiler/ppcross386 -bu -scp --prefix=/usr/local --baseinstalldir=/usr/local/lib/fpc/3.3.1
Installing package a52
Installation package a52 for target i386-win32 succeeded
Installing package aspell
Installation package aspell for target i386-win32 succeeded
Installing package bzip2
Installation package bzip2 for target i386-win32 succeeded
Installing package cairo
Installation package cairo for target i386-win32 succeeded
Installing package cdrom
Installation package cdrom for target i386-win32 succeeded
Installing package chm
etc etc
TIA.