Cross-compiling with Lazarus (host Win32/target Win64) lazarus / 13-General ---------------------------------------------------------------------- dailton · 2014-06-12 23:28 Hi, Related to this topic http://forum.lazarus.freepascal.org/index.php?topic=10688.0 I'm trying to build cross platform win32 to win64 for Lazarus 1.2.2/fpc 2.6.4 but i've got one error in step 7 as follows: Commands set fpcdir=C:\lazarus1-22\fpc\2.6.4 set path=%fpcdir%\bin\i386-win32;%path% make all install INSTALL_PREFIX=%fpcdir% make all install CROSSCOMPILE=1 OS_TARGET=win64 CPU_TARGET=x86_64 INSTALL_PREFIX=%fpcdir% copy .\compiler\ppcrossx64.exe %fpcdir%\bin\i386-win32\*.* Fragmented Output C:/lazarus1-22/fpc/2.6.4/bin/i386-win32/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi. ./i386 -Fi../win -FE. -FUC:/lazarus1-22/source/fpc-2.6.4/rtl/units/i386-win32 -d i386 -dRELEASE -Us -Sg system.pp -Fi../win C:/lazarus1-22/fpc/2.6.4/bin/i386-win32/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi. ./i386 -Fi../win -FE. -FUC:/lazarus1-22/source/fpc-2.6.4/rtl/units/i386-win32 -d i386 -dRELEASE -I../objpas ../objpas/objpas.pp C:/lazarus1-22/fpc/2.6.4/bin/i386-win32/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi. ./i386 -Fi../win -FE. -FUC:/lazarus1-22/source/fpc-2.6.4/rtl/units/i386-win32 -d i386 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../i386 -I../objpas  -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buil drtl sysutils.pp(839,3) Warning: Symbol "GetLocaleFormatSettings" is not portable strutils.pp(286,4) Warning: "open array" not yet supported inside inline procedu re/function strutils.pp(286,4) Warning: Inlining disabled strutils.pp(341,4) Warning: "open array" not yet supported inside inline procedu re/function strutils.pp(341,4) Warning: Inlining disabled tthread.inc(83,5) Warning: Symbol "Suspend" is deprecated tthread.inc(84,13) Warning: Symbol "Resume" is deprecated classes.inc(119,9) Warning: Symbol "Resume" is deprecated classes.inc(136,11) Warning: Symbol "Resume" is deprecated C:/lazarus1-22/fpc/2.6.4/bin/i386-win32/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi. ./i386 -Fi../win -FE. -FUC:/lazarus1-22/source/fpc-2.6.4/rtl/units/i386-win32 -d i386 -dRELEASE ../inc/macpas.pp make[5]: *** No rule to make target `iso7185.ppu', needed by `fpc_units'.  Stop. make[5]: Leaving directory `C:/lazarus1-22/source/fpc-2.6.4/rtl/win32' make[4]: *** [win32_all] Error 2 make[4]: Leaving directory `C:/lazarus1-22/source/fpc-2.6.4/rtl' make[3]: *** Error 2 make[3]: Leaving directory `C:/lazarus1-22/source/fpc-2.6.4/compiler' make[2]: *** [cycle] Error 2 make[2]: Leaving directory `C:/lazarus1-22/source/fpc-2.6.4/compiler' make[1]: *** [compiler_cycle] Error 2 make[1]: Leaving directory `C:/lazarus1-22/source/fpc-2.6.4' make: *** [build-stamp.x86_64-win64] Error 2 C:\lazarus1-22\source\fpc-2.6.4>copy .\compiler\ppcrossx64.exe C:\lazarus1-22\fp c\2.6.4\bin\i386-win32\*.* O sistema não pode encontrar o arquivo especificado. (this means ppcrossx64.exe was note generated) Could Anybody help? Thanks in advance Dailton Menezes ---------------------------------------------------------------------- dailton · 2014-06-13 18:02 Hi Everybody, I found the solution by myself. There are two setups that do the job. See the link below: http://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%2 0bits/Lazarus%201.2.2/ win32 -> win64 win32 -> wince Regards Dailton Menezes ---------------------------------------------------------------------- carloscerv1975 · 2014-06-20 22:33 I need generate 64 bits Win applications. Before to release 1.2.4 I generate someones. The new release notice to use the IDE of 32 bits. I installed it and the add-on for win64 in other directory. I do not know how activate the 64 bits generation options and I need to depurate  the applications. Thanks for your comments. ---------------------------------------------------------------------- Martin_fr · 2014-06-21 03:35 1) Install the add on in the SAME directory 2) Menu "Project" > "project options" > "Config and Target" > See image ---------------------------------------------------------------------- carloscerv1975 · 2014-06-21 18:14 Thanks a lot, Martin_fr. Now I can run and debug my projects. I need more than 5GB of RAM for my processes, I have not choice in 32 bits environment.