[fpc-pascal] Cross compile from x86 to Pi
Karoly Balogh (Charlie/SGR)
charlie at scenergy.dfmk.hu
Sun Aug 16 04:40:16 CEST 2015
Hi,
On Sat, 15 Aug 2015, Chris Moody wrote:
> > > Is there a better guide on how to do this than:
> > > http://wiki.freepascal.org/fpcup#Linux_ARM_cross_compiler ? specifically
> > > as far as this
> > > sentence is concerned:
> > >
> > > * Linux/Unix build or install the relevant crossbinutils (Linux, unix)
> > With Ubuntu/Debian:
> > - apt-get install binutils-arm-linux-gnueabihf
> >
> > **snip**
>
> Thanks for that Charlie, I now have that installed. Do I have to do the
> compile with fpc? or can I do it via Lazarus?
I'm pretty sure it's possible with Lazarus, but I can't give exact
instructions, because I rarely use Lazarus, I prefer using the compiler
itself directly from the command line.
However, this page has some pointers:
http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM#Make_your_first_arm-linux_project_in_Lazarus
Charlie
More information about the fpc-pascal
mailing list