Clean installation of Lazarus on Ubuntu 18.04 with cross compiling for Win32 lazarus / 1-Linux ---------------------------------------------------------------------- eddy16391 · 2018-11-14 10:17 Hi everyone, as the title suggests, I installed Lazarus on Ubuntu 18.04 and everything works correctly. Now I would need to compile a project for win32 but I can not enable cross compilig. I need a guide that explains step by step the components to download and how to configure Lazarus. Thank you. ---------------------------------------------------------------------- Handoko · 2018-11-14 10:36 Hello eddy16391, Welcome to the forum. Try this: https://forum.lazarus.freepascal.org/index.php/topic,31343.msg206555.h tml#msg206555 Or this: https://github.com/cpicanco/stimulus_control/blob/master/docs/compilin g/cross_compiling.md Note: You have to replace the text 3.0.0 or 3.0.4 with the version of your FPC. ---------------------------------------------------------------------- eddy16391 · 2018-11-14 10:45 Ok, I did it. But now? How can I compile a working project for win32? If I click on build Lazarus builds just the executable for Ubuntu. ---------------------------------------------------------------------- Handoko · 2018-11-14 10:55 Lazarus main menu > Project > Project Options > Compiler Options > Config and Target: - Set Target OS (-T) to Win32 - Set Target CPU family (-P) to i386 ---------------------------------------------------------------------- heejit · 2018-11-14 10:56 Find Attached screen shot of my configuration After that you need to select Run -> Compile Many Mode ---------------------------------------------------------------------- eddy16391 · 2018-11-14 10:59 Ok, it works. Thank you very much! ---------------------------------------------------------------------- Handoko · 2018-11-14 11:08 You're welcome. Lazarus is an awesome tool to develop applications. The more you explore it, the more you will love it. If you're new to Lazarus, I recommend you these reading materials: http://wiki.lazarus.freepascal.org/Lazarus_Tutorial http://wiki.freepascal.org/New_IDE_features_since If you're coming from Delphi, these should be useful: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Documentation#Com ing_from_Delphi http://wiki.lazarus.freepascal.org/Lazarus_For_Delphi_Users#The_first_ thing_to_do_when_converting_a_Delphi_project_to_Lazarus List of tutorials with wide range of topics (graphics, database, printer, web, etc): http://wiki.freepascal.org/Lazarus_Documentation#Lazarus.2FFPC_.28Free _Pascal.29 http://wiki.freepascal.org/Category:Tutorials Have fun!