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

Paul Breneman list2010 at BrenemanLabs.com
Mon Jan 3 16:37:41 CET 2011


Hi Bo,

> I am setting up an environment for developing a simple GUI application
> for RS232 communications that will eventually be loaded on an embedded
> ARM system running a debian linux port.
> 
> I am not used to Linux so I figured I could develop on Windows and
> test it natively there and then cross-compile for the ARM-linux
> platform when I am done.
> 
> For the development I have installed FPC 2.4.2 and gotten Lazarus,
> both trunk and the fixes_0_9_30 branch from SVN. Both compiled OK so I
> am good concerning the Windows dev tools.
> 
> Question 1:
> Is the scenario I am after at all possible?
> 
> 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...

What you want is certainly possible but you might need to learn how to 
build your own cross-compile FPC and Lazarus.  You might consider doing 
what I did and install CodeTyphon in a virtual machine:
   http://www.pilotlogic.com/

That uses a recent FPC and Lazarus trunk so it isn't the stable versions 
you want.  But it might be useful for you to see what is possible on 
Windows:
   http://www.pilotlogic.com/codetyphon_help/layers_and_areas.htm

Paul




More information about the Lazarus mailing list