Hello,
for Linux Mint 18.2 and before i use this code for install CrossCompiling Win32:
sudo make clean all OS_TARGET=win32 CPU_TARGET=i386
sudo make crossinstall OS_TARGET=win32 CPU_TARGET=i386 INSTALL_FREFIX=/usr
in the fpc.cfg:
# For Crosscompiling
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
and symbolic link:
sudo ln -sf /usr/lib/fpc/3.0.4/ppcross386 /usr/bin/ppcross386
But under Linux Mint 18.3 it doens't work.
The ppcross386 was located on /usr/local/lib/fpc/3.0.4/ppcross386 and i must add "local/" in the fpc.cfg and the link.
But why? The ppcrossx64 is stored at "/usr/lib/fpc/3.0.4/". Why this two locations?
greetings from germay
heiko