[Lazarus] Cross compiler

Antonio Fortuny a.fortuny at sitasoftware.lu
Mon May 27 12:01:43 CEST 2013


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 ?
>
> On win64 you can run 32 bit applications, after all, so
> cross-compilation is not strictly necessary. Just install a 32 bit
> compiler
I know, but the goal is to make win32 executables on a win64 build platform
>
> Joost
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>







More information about the Lazarus mailing list