[Lazarus] Cross compiler
Joost van der Sluis
joost at cnoc.nl
Mon May 27 11:47:14 CEST 2013
On Mon, 2013-05-27 at 11:18 +0200, Antonio Fortuny wrote:
> I then copied folders "compiler", "ide" and "installer" from fpcsrc
> from the zip file into the folder "C:\lazarus\fpc\2.6.2\source"
> Didn't touch the "packages" and 'rtl" as they are up to date.
> open a command line console:
You'll need to copy the complete fpcsrc folder. And I would use the two
commands separately. 'make all OS_TARGET=win32 CPU_TARGET=i386' and
'make crossinstall OS_TARGET=win32 CPU_TARGET=i386'
But it could be that you'll encounter problems with the 10-bit floating
In that case you can simply download a bootstrap compiler for win32
(ftp://ftp.freepascal.org/fpc/dist/2.6.2/bootstrap/) and do:
'make clean all PP=c:\path\to\bootstrap\compiler\ppc386.exe'
On win64 you can run 32 bit applications, after all, so
cross-compilation is not strictly necessary. Just install a 32 bit
More information about the Lazarus