[Lazarus] Cross-compile for ARM-Linux on a Windows host????

Henry Vermaak henry.vermaak at gmail.com
Mon Jan 3 00:13:05 CET 2011


On 2 January 2011 22:28, Bo Berglund <bo.berglund at gmail.com> wrote:
>
> Question 1:
> Is the scenario I am after at all possible?

At least for fpc, I don't see why not, but I haven't tried it.  It
will be a lot more natural when the host and target os are the same,
though.

> Question 2:
> I have tried to locate an FPC 2.4.2 cross compiler for ARM targets
> running on a Windows host, but failed. Is one available or must I
> change my development hosting to a (for me unknown) linux system?
> I *have* googled some wiki pages outlining cross-compile for ARM, but
> these are using linux as the host, unfortunately...

The procedure should be more or less the same.  You'll need the cross
binutils, which Marco has built (with handy modifications):

ftp://ftp.freepascal.org/pub/fpc/contrib/cross/binutils-2.20-arm-linux-elf.zip

Henry




More information about the Lazarus mailing list