* * *

Author Topic: How to create 32bit application with 64bit Lazarus  (Read 36011 times)

ajumalp

  • Newbie
  • Posts: 1
Re: How to create 32bit application with 64bit Lazarus
« Reply #15 on: December 18, 2017, 01:10:05 pm »
Hi,

I've installed both Lazarus 1.8 32Bit and 64Bit.
Then I changed the Compiler executable in Lazarus options to C:\lazarus\fpc\3.0.4\bin\i386-win32\fpc.exe
and in the Project options I changed the Target OS to Win32 and Target CPU family to i386.

This worked for me. I created 2 build mode 1 fr 32Bit and another for 64Bit. Now all I need is to change the build mode and Compiler executable each time. 

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4561
    • wiki
Re: How to create 32bit application with 64bit Lazarus
« Reply #16 on: December 18, 2017, 01:46:35 pm »
First this is a very old thread.
The info is not really up to date.

On Windows "add on" installers are provided. (See Sourceforge download)

You first install the version for your OS (64 bit).
Then you install the 32bit add on in the same folder. (this is just the extra compiler)

Now you can just change the target (target= OS and cpu).
No other change required. (No need to change compiler in tools>options)


 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus