For me, the simplest solution is installing Ubuntu in a dual boot or, even better, in a virtual machine (e.g. free VMWare Player) with access to the Windows' Lazarus project folder. Independent install and configuration of Lazarus and debugging for each platform.

[]'s,

Carlos Eduardo S. Matuzaki
Curitiba / Parana' / Brazil

Em 02/04/2019 17:14, lazarus-requ...@lists.lazarus-ide.org escreveu:
Date: Tue, 02 Apr 2019 08:14:39 -0400
From: Bo Berglund
To: laza...@lists.lazarus.freepascal.org
Subject: [Lazarus] Cross compile for Linux x64 on Windows 7 x64?
Message-ID: <ctj6ae19j9a7cqb3ojd7af8l8ubfi02...@4ax.com>
Content-Type: text/plain; charset=us-ascii

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?



---
Este email foi escaneado pelo Avast antivĂ­rus.
https://www.avast.com/antivirus

--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to