<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head>
<body>
<p style="margin: 0pt;">
<span>
<span></span>
</span>
</p>
<p style="margin: 0px; "></p>
<div style="margin: 5px 0px;">
<br/>
patspiper <patspiper@gmail.com> hat am 27. März 2012 um 17:17 geschrieben:
<br/>
<br/>
> This is related to bug 0021580: Feature request: Robust IDE cross-compiling.
<br/>
>
<br/>
> With Lazarus 1.0 being closer than ever, and with the availability of
<br/>
> different Linux scripts to compile FPC from source (including cross
<br/>
> compilation), maybe the time has come to have an automated installer
<br/>
> that does all that, including the compilation of the cross binutils.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">That is one approach. </p>
<p style="margin: 0px;">Another is to use VMs. </p>
<p style="margin: 0px;">VMs are nowadays very easy to setup and they run almost as fast (sometimes even faster) as the host system.</p>
<p style="margin: 0px;">Installing/Upgrading all the required libs in a VM is much simpler than setting up these libs cross compiled. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Maybe someone wants to setup VM image for public download for his favorite distribution with preinstalled Lazarus and other common development tools.</p>
<p style="margin: 0px;"> </p>
<p>Lazarus projects and packages are made for cross platforms. So you can simply copy them or use VCS. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
>
<br/>
> The complement for Lazarus would be the ability to import/export the
<br/>
> default project options with build modes.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">The default project options (compiler options with build modes) are stored in ~/.lazarus/projectoptions.xml</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
> My default build modes include Default, Linux/i386, Win32/i386, Linux/arm, and WinCE/arm.
<br/>
>
<br/>
> The 1st base question that comes to mind is: What is the optimal folder
<br/>
> structure to contain FPC with different versions, lazarus, the cross
<br/>
> binutils, and all related sources?
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Mattias</p>
<p style="margin: 0px;"> </p>
</body>
</html>