[Lazarus] Cross compiler
Joost van der Sluis
joost at cnoc.nl
Mon May 27 12:07:13 CEST 2013
On Mon, 2013-05-27 at 12:01 +0200, Antonio Fortuny wrote:
> Le 27/05/2013 11:47, Joost van der Sluis a écrit :
> > 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
> > point support.
> > 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'
> this line compiles what ? In which directory should it be run ?
In fpcsrc. It does the same as above: compiling Free Pascal. The only
difference is that you force the usage of the 32-bit compiler to compile
the new compiler.
More information about the Lazarus