[Lazarus] Cross compile for Linux x64 on Windows 7 x64?
Bo Berglund
bo.berglund at gmail.com
Tue Apr 2 14:14:39 CEST 2019
I have a command line utility created in Lazarus 2.0.0/fpc 3.0.4 on
Windows 7 x64. I use the Lazarus/fpc downloaded via this page:
https://www.lazarus-ide.org/index.php?page=downloads
Now I want to compile this project for Linux on the same x64 Intel CPU
so I can run it under Ubuntu 16.4 LTS Server x64.
Since that is a headless machine (it is a server) I need to build the
utility by cross-compile on my Windows x64 Lazarus installation.
Is there a *simple* instruction on how to do this? I have looked at
the doc page:
http://wiki.lazarus.freepascal.org/Cross_compiling
but it is too complex for me to understand. I tried to just go to the
sections I deemed relevant to my simple (and probably very common)
case but they all cross-reference into a maze...
I need a "For Dummies" how-to which presupposes I have installed
Lazarus/Fpc for Windows x64 and then tells me what to download extra
(and from where) and also how to set up the project environment to
make the Linux target.
Is something like that available?
--
Bo Berglund
Developer in Sweden
More information about the lazarus
mailing list