<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hi Folks.<br>
<br>
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.<br>
I've downloaded the FPC sources 2.6.2 from the svn file
fpcbuild-2.6.2.zip<br>
I then copied folders "compiler", "ide" and "installer" from
fpcsrc from the zip file into the folder
"C:\lazarus\fpc\2.6.2\source"<br>
Didn't touch the "packages" and 'rtl" as they are up to date.<br>
open a command line console:<br>
<br>
> set path=C:\lazarus\fpc\2.6.2\bin\x86_64-win64;%path%<br>
> cd C:\lazarus\fpc\2.6.2\source\compiler<br>
> make all install OS_TARGET=win32 CPU_TARGET=i386<br>
and :<br>
<i>C:/lazarus/fpc/2.6.2/bin/x86_64-win64/gmkdir.exe -p
i386/units/i386-win32</i><i><br>
</i><i>make ./msg2inc.exe</i><i><br>
</i><i>make[1]: Entering directory
`C:/lazarus/fpc/2.6.2/source/compiler'</i><i><br>
</i><i>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</i><i><br>
</i><i>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</i><i><br>
</i><i>make[1]: *** [msg2inc.exe] Error 1</i><i><br>
</i><i>make[1]: Leaving directory
`C:/lazarus/fpc/2.6.2/source/compiler'</i><i><br>
</i><i>make: *** [msgtxt.inc] Error 2</i><i><br>
</i><br>
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.<br>
<br>
Any help would be appreciated<br>
<br>
Antonio.<br>
</font>
</body>
</html>