[Lazarus] Cross compiler
a.fortuny at sitasoftware.lu
Mon May 27 11:18:53 CEST 2013
Because of my recent problems with Lazaus+FPC on win32, I'd like to try
a cross-compilation of my project on a win64 platform targetting a win32
I've downloaded the FPC sources 2.6.2 from the svn file fpcbuild-2.6.2.zip
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:
> set path=C:\lazarus\fpc\2.6.2\bin\x86_64-win64;%path%
> cd C:\lazarus\fpc\2.6.2\source\compiler
> make all install OS_TARGET=win32 CPU_TARGET=i386
/C:/lazarus/fpc/2.6.2/bin/x86_64-win64/gmkdir.exe -p i386/units/i386-win32//
//make: Entering directory `C:/lazarus/fpc/2.6.2/source/compiler'//
//C:/lazarus/fpc/2.6.2/bin/x86_64-win64/fpc.exe -Twin32 -Pi386
-XPi386-win32- -Xr -Fui386 -Fusystems -Fu../rtl -Fii386 -FE.
-FUi386/units/i386-win32 -di386 -dGDB -dBROWSERLOG -Fux86 -FE.
//Error: ppc386.exe can't be executed, error message: Failed to execute
""ppc386.exe" -Twin32 -XPi386-win32- -Xr -Fui386 -Fusystems -Fu../rtl
-Fii386 -FE. -FUi386/units/i386-win32 -di386 -dGDB -dBROWSERLOG -Fux86
-FE. utils/msg2inc.pp ", error code: 2//
//make: *** [msg2inc.exe] Error 1//
//make: Leaving directory `C:/lazarus/fpc/2.6.2/source/compiler'//
//make: *** [msgtxt.inc] Error 2//
I didn't find very much help on the Internet. Just some scattered words
on a mass of web pages but nothing fully coherent and the Marco Van de
Voort's document which is highly technical and looks tto advanced for
me: I'm not an expert in FPC and Lazarus build.
Any help would be appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus