direktor05 2 Posted May 28, 2022 Hello, Can someone tell me how to set Lazarus to build for Linux? When I try to set up builder is gives some error that that system.ppu for this target (Linux) was not found. Maybe some libraries for Linux are missing? Where to get them? How to set this up properly? Share this post Link to post
direktor05 2 Posted May 28, 2022 https://www.youtube.com/watch?v=Q1BQ_6w8whc Share this post Link to post
Lars Fosdal 1792 Posted May 30, 2022 This site focuses on Delphi. It is more likely you get the info you need for Lazarus here: https://forum.lazarus.freepascal.org/index.php?action=forum Share this post Link to post
Fr0sT.Brutal 900 Posted May 30, 2022 You have to build FPC for the target first. Here's the excerpt from my own batch file CALL make %Make_Opt% clean CPU_TARGET=%TargCPU% OS_TARGET=%TargOS% || (ECHO Command "make clean" for FPC failed... && GOTO :BuildFPCErr) CALL make %Make_Opt% crossinstall %FPC_Opt% CPU_TARGET=%TargCPU% OS_TARGET=%TargOS% INSTALL_PREFIX="%FPCPath%" || (ECHO Command "make crossinstall" failed... && GOTO :BuildFPCErr) then you'll be able to crosscompile apps. Check ready-to-use script here https://github.com/Fr0sT-Brutal/FPC_Build Share this post Link to post