<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<blockquote type="cite"
cite="mid:CAGOmfbGQC7QfX4T1fL8OtMrQP1eEtRhck8Xg+TJmHxxK-kd=vQ@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Drawback is that I must now maintain 2 FPC
installations/cross-compilers <br>
(Win32-WinCE): one for targer WinCE 5,6 with CPUs ARMv5
and another for <br>
WinCE 7 with ARMv7 CPU (It is not sufficient to setup
build modes in <br>
project ... also all units must be pre-compiled ... at
least I do not <br>
know how to bypass this limitation)<br>
</blockquote>
<div><br>
</div>
<div>I suspect your problem is related to this feature
request: <a
href="https://bugs.freepascal.org/view.php?id=30294"
moz-do-not-send="true">https://bugs.freepascal.org/view.php?id=30294</a><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<p>Yes seems so ...</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CAGOmfbGQC7QfX4T1fL8OtMrQP1eEtRhck8Xg+TJmHxxK-kd=vQ@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote">
<div>Note that you probably don't need two different cross
compilers if your cpu-OS target is the same</div>
</div>
</div>
</div>
</blockquote>
<p>Target CPU family is same: "arm", but Target processor is not the
same: "ARMv4" versus "ARMv7" ...</p>
<p>So I do not know if this requires two pre-compiled
cross-compilers or not?</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CAGOmfbGQC7QfX4T1fL8OtMrQP1eEtRhck8Xg+TJmHxxK-kd=vQ@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote">
<div>, only two different versions of the RTL (and perhaps
packages) in a way that enables the compiler to pick the
correct version. For avr-embedded I change the unit
output folder name to avr-embedded-SUBARCH and add the
subarch macro to fpc.cfg. For arm you may also need to
handle different ABI versions (I don't cross compile for
arm).<br>
</div>
</div>
</div>
</div>
</blockquote>
<p>I can set in Project Options "Unit Output Directory", but how to
set where RTL/packages are located ...</p>
<p>Perphas recompilation RTL/packages for given target processor
from sources is okay for me, but is it doable in one Lazarus with
one cross compiler?</p>
<p>-Laco.</p>
<br>
</body>
</html>