[fpc-devel] Building cross-compiler for arm-linux on win32
Florian Klämpfl
florian at freepascal.org
Sat Dec 15 16:24:53 CET 2018
Am 15.12.2018 um 16:36 schrieb Nikolai Zhubr:
>> There is no single ARM/Linux platform, but many different incompatible
>> ones (which is one of the reasons there are no provided FPC
>> cross-compilers for this "platform".
>
> Right, this is what I overlooked indeed (Well, because a pre-built native compiler for ARM did work successfully out of
> the box, producing perfectly usable arm binaries for me)
>
> Now, I'm targeting an A20-olinuxino-micro board, which is afaik armv7a with VPFv4. The board is running either openwrt
> or opensuse. (And actually, the binaries produced by the pre-built native compiler have been tested in both environments
> already)
>
> So I suppose I should be using CROSSOPT="-CpARMV7A -CfFPV4_S16" ?
... and -dFPC_ARMHF. It is more important than the others.
More information about the fpc-devel
mailing list