[fpc-pascal] Compile for WinCE 7, target ARM, CPU Cortex-A9
lacak at zoznam.sk
Fri Apr 5 13:18:33 CEST 2019
> Drawback is that I must now maintain 2 FPC
> (Win32-WinCE): one for targer WinCE 5,6 with CPUs ARMv5 and
> another for
> WinCE 7 with ARMv7 CPU (It is not sufficient to setup build modes in
> project ... also all units must be pre-compiled ... at least I do not
> know how to bypass this limitation)
> I suspect your problem is related to this feature request:
Yes seems so ...
> Note that you probably don't need two different cross compilers if
> your cpu-OS target is the same
Target CPU family is same: "arm", but Target processor is not the same:
"ARMv4" versus "ARMv7" ...
So I do not know if this requires two pre-compiled cross-compilers or not?
> , 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).
I can set in Project Options "Unit Output Directory", but how to set
where RTL/packages are located ...
Perphas recompilation RTL/packages for given target processor from
sources is okay for me, but is it doable in one Lazarus with one cross
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal