[fpc-devel] Building cross-compiler for arm-linux on win32
Florian Klämpfl
florian at freepascal.org
Sun Dec 16 20:44:05 CET 2018
Am 16.12.2018 um 20:47 schrieb Nikolai Zhubr:
> Hi,
>
> Yes, "armv7-linux-gnueabi" did the trick for cross-compiling on windows as well. I just had to manually rename binary
> files of binutils so that thay match the naming pattern fpc build system expacts. I can provide my ready-to-use
> win32-to-arm binutils 2.31.1 zip if someone is interested.
>
> Besides, I employed the "mkbinutils" script from contribs on the website, and I like it quite a lot, although it needed
> some little updating too. Its a pity this script is not mentioned anywhere in official recommendations.
>
> I'd like to note that apart from this binutils target pitfall, cross-compiling appeared to be surprisingly easy even
> when both cpu and os of the target differ from the host ones. Really fantastic thing. But, the documentaion is horribly
> lacking/incomplete/outdated, and in the absence of fine official manual/howto, there are lots of unofficial "manuals"
> floating around, full of wrong/random/irrelevant instructions.
Well, problem is a little bit that arm is really a moving target.
More information about the fpc-devel
mailing list