The curious thing about this is if select Target OS = Win64 and Target CPU family x86_64 and press the test button, it says at Checking compiler option window:WARNING: ppu exists twice: C:\lazarus\fpc\2.4.2\units\x86_64-win64\httpd20\httpd.ppu, C:\lazarus\fpc\2.4.2\units\x86_64-win64\httpd13\httpd.ppuWARNING: ppu exists twice: C:\lazarus\fpc\2.4.2\units\x86_64-win64\httpd22\apr.ppu, C:\lazarus\fpc\2.4.2\units\x86_64-win64\httpd20\apr.ppuWARNING: ppu exists twice: C:\lazarus\fpc\2.4.2\units\x86_64-win64\httpd22\apriconv.ppu, C:\lazarus\fpc\2.4.2\units\x86_64-win64\httpd20\apriconv.ppuWARNING: ppu exists twice: C:\lazarus\fpc\2.4.2\units\x86_64-win64\httpd22\aprutil.ppu, C:\lazarus\fpc\2.4.2\units\x86_64-win64\httpd20\aprutil.ppuWARNING: ppu exists twice: C:\lazarus\fpc\2.4.2\units\x86_64-win64\httpd22\httpd.ppu, C:\lazarus\fpc\2.4.2\units\x86_64-win64\httpd20\httpd.ppuWARNING: ppu exists twice: C:\lazarus\fpc\2.4.2\units\x86_64-win64\fv\dialogs.ppu, C:\Lazarus\lcl\units\i386-win32\dialogs.ppuWARNING: ppu exists twice: C:\lazarus\fpc\2.4.2\units\x86_64-win64\fv\menus.ppu, C:\Lazarus\lcl\units\i386-win32\menus.ppu
and in Messages window:(...)Searching file C:\Users\Miguel\AppData\Local\Temp\testcompileroptions.pas... foundLoad from PROGRAM (implementation) unit OBJPASParsing implementation of C:\Users\Miguel\AppData\Local\Temp\testcompileroptions.pasSyntax error, "BEGIN" expected but "end of file" foundCompilation abortedError: c:\lazarus\fpc\2.4.2\bin\i386-win32\ppcrossx64.exe returned an error exitcode (normal if you did not specify a source file to be compiled)But it compiles fine my projects to Win64...
I need to address my memory issue before using VBox which means a fresh os install to play around with VBox fully. Guess I need to quit putting it off. Dreading it.
What the test button do is actually giving empty source code to the compiler, so this is expected and normal.
Quote from: Leledumbo on September 17, 2011, 06:11:32 amWhat the test button do is actually giving empty source code to the compiler, so this is expected and normal.Thank you for the info. I have been all the day testing old projects and compiling/porting them both for 32 and 64 and everything is working nicely.
If you don't mind, add your guide to wiki Maybe from crosscompiling page make a link to step by step windows install or update this http://wiki.lazarus.freepascal.org/Cross_compiling#Win32_To_Win64