[Lazarus] How to switch a project from 32 to 64 bit (on Windows 7 x64)?

Bo Berglund bo.berglund at gmail.com
Tue May 28 13:20:50 CEST 2019


On Tue, 28 May 2019 11:03:36 +0000, Patrick Chevalley via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>It is probably possible to cross compile from Windows to Linux (Gtk2) but this is difficult to setup because you need to copy a lot a Linux library to your Windows system. 
>I don't know if Fpcupdeluxe can help with that? 
>
>The other way is much more easy because the win32 LCL do not expect the Windows DLL to be there for linking. So compiling for Win32 or Win64 from Linux is just a matter of changing the target in the build mode.   

OK, I see...
Meanwhile I have installed 2.0.2 as you suggested with the
cross-compiler and used OPM to get Indy installed and then manually
installed the PasLibVlc package.
Next I opened the old project and built the two targets WIn 32 and 64
and it all went well!

So I will start uninstalling the old versions now (freeing up 6+ GB of
disk), and I also found Lazarus 1.4 in my disk...


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list