title: How to switch between Win32/64 code generation in Lazarus?
body: <p>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</p>
  
  <blockquote>
    <p>Compiler "C:\Programs\lazarus\fpc\2.6.0\bin\x86_64-win64\fpc.exe" does
    not support target x86_64-win32</p>
  </blockquote>
  
  <p>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.</p>
  
  <p>What is the right way to do it?</p>