As I will likely need this one day: [Archive.is / WayBack] Crosscompiling with Lazarus 1.8 on Linux Mint 18.3 | The Programming Works.
There are quite a few one-time manual setups to initially set this up, but after that it’s a piece of cake.
via:
- [WayBack] How to configure Lazarus on Linux to cross compile Windows 32 bit executables. – Thomas Mueller (dummzeuch) – Google+
- [WayBack] How to configure Lazarus on Linux to cross compile Windows 32 bit executables. – Jeroen Wiert Pluimers – Google+
where Ondrej Kelle commented:There’s a lot to like about Lazarus. To automate building for multiple targets, a nice option is Build Modes and the menu option “Compile many Modes”. From command line, you can use
lazbuild
with--operating-system
,--cpu
, or--build-mode
switches.
–jeroen