[Lazarus] FPC & Lazarus installation including cross compiling from source

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Mar 27 17:44:37 CEST 2012


patspiper <patspiper at gmail.com> hat am 27. März 2012 um 17:17 geschrieben:

> This is related to bug 0021580: Feature request: Robust IDE
cross-compiling.
>
> With Lazarus 1.0 being closer than ever, and with the availability of
> different Linux scripts to compile FPC from source (including cross
> compilation), maybe the time has come to have an automated installer
> that does all that, including the compilation of the cross binutils.


That is one approach.
Another is to use VMs.
VMs are nowadays very easy to setup and they run almost as fast (sometimes
even faster) as the host system.
Installing/Upgrading all the required libs in a VM is much simpler than
setting up these libs cross compiled.

Maybe someone wants to setup VM image for public download for his favorite
distribution with preinstalled Lazarus and other common development tools.


Lazarus projects and packages are made for cross platforms. So you can
simply copy them or use VCS.




>
> The complement for Lazarus would be the ability to import/export the
> default project options with build modes.


The default project options (compiler options with build modes) are stored
in ~/.lazarus/projectoptions.xml



> My default build modes include Default, Linux/i386, Win32/i386,
Linux/arm, and WinCE/arm.
>
> The 1st base question that comes to mind is: What is the optimal folder
> structure to contain FPC with different versions, lazarus, the cross
> binutils, and all related sources?



Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120327/fd2f2bd5/attachment-0003.html>


More information about the Lazarus mailing list