I installed 64-bit Lazarus and want to generate 32-bit code. When I try to set Target OS to Win32 I get error message
Compiler "C:\Programs\lazarus\fpc\2.6.0\bin\x86_64-win64\fpc.exe" does not support target x86_64-win32
so I guess I need to download and install additional fpc compiler to generate Win32 code and somehow to switch between them in Lazarus IDE.
What is the right way to do it?
You need the cross-compiler or simply compile in a 64bit IDE (pragmatic approach).
CodeTyphon works.