Hi Folks.

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 execution platform.
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
and :
/C:/lazarus/fpc/2.6.2/bin/x86_64-win64/gmkdir.exe -p i386/units/i386-win32//
//make ./msg2inc.exe//
//make[1]: 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. utils/msg2inc.pp// //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[1]: *** [msg2inc.exe] Error 1//
//make[1]: 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

Antonio.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to