<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div>I am VERY interested in how this question is answered and resolved. It
seems to be a weak point in how the Lazarus/FPC effort has developed. <br></div><div><br></div><div>This type of question has prevented me from diving into the Lazarus/FPC
ecosystem because there seem to be regular requests for help in resolving this
type of issue. <br></div><div><br></div><div>Doug C.<br></div><div><br></div><div style="" class="zmail_extra"><div><br></div><div id="Zm-_Id_-Sgn1">---- On Tue, 02 Apr 2019 08:14:39 -0400 <b>Bo Berglund via lazarus <lazarus@lists.lazarus-ide.org></b> wrote ----<br></div><div><br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div><div>I have a command line utility created in Lazarus 2.0.0/fpc 3.0.4 on<br></div><div>Windows 7 x64. I use the Lazarus/fpc downloaded via this page:<br></div><div><a target="_blank" href="https://www.lazarus-ide.org/index.php?page=downloads">https://www.lazarus-ide.org/index.php?page=downloads</a><br></div><div><br></div><div>Now I want to compile this project for Linux on the same x64 Intel CPU<br></div><div>so I can run it under Ubuntu 16.4 LTS Server x64.<br></div><div>Since that is a headless machine (it is a server) I need to build the<br></div><div>utility by cross-compile on my Windows x64 Lazarus installation.<br></div><div><br></div><div>Is there a *simple* instruction on how to do this? I have looked at<br></div><div>the doc page:<br></div><div><a target="_blank" href="http://wiki.lazarus.freepascal.org/Cross_compiling">http://wiki.lazarus.freepascal.org/Cross_compiling</a><br></div><div>but it is too complex for me to understand. I tried to just go to the<br></div><div>sections I deemed relevant to my simple (and probably very common)<br></div><div>case but they all cross-reference into a maze...<br></div><div><br></div><div>I need a "For Dummies" how-to which presupposes I have installed<br></div><div>Lazarus/Fpc for Windows x64 and then tells me what to download extra<br></div><div>(and from where) and also how to set up the project environment to<br></div><div>make the Linux target.<br></div><div>Is something like that available?<br></div><div><br></div><div><br></div><div>-- <br></div><div>Bo Berglund<br></div><div>Developer in Sweden<br></div><div><br></div><div>-- <br></div><div>_______________________________________________<br></div><div>lazarus mailing list<br></div><div><a target="_blank" href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a><br></div><div><a target="_blank" href="https://lists.lazarus-ide.org/listinfo/lazarus">https://lists.lazarus-ide.org/listinfo/lazarus</a><br></div></div></blockquote></div><div><br></div><br></body></html>