[Lazarus] Cross Compile for arm-linux
Paul Nicholls
paulfnicholls at gmail.com
Mon Dec 7 01:08:50 CET 2009
Hi :)
I don't know if it will help, but back in 2007, I started a website:
http://fpc4gp2x.eonclash.com/
which allows one to make programs for an arm-linux handheld, the gp2x.
It has a freepascal cross-compiler that works under Windows 32, and
generates arm-linux binaries :)
I know it is over 2 years old now, but perhaps it may still help?
cheers,
Paul
----- Original Message -----
From: <antispammoni at gmail.com>
To: "Lazarus Mailing List" <lazarus at lists.lazarus.freepascal.org>
Sent: Saturday, December 05, 2009 8:30 AM
Subject: [Lazarus] Cross Compile for arm-linux
> Hi all,
>
> I'm a newbie about cross compiling, but I need to develop some
> applications for arm-linux architecture. There are many days that I
> search on web tutorials, guide and simple sparse bit of knowledge
> about how to to... but no success at now.
> All references to tutorials I found are very old and partially not
> working.
>
> So I hope that you can help me to write a generic step by step
> tutorial, starting from "generic" sources; I mean what to download,
> what to write in terminal, etc...
>
> What I believe to know is that:
> 1) cross compiling for arm-linux is simplest from Linux X86
> 2) I need binutils ( I downloaded latest one:
> http://ftp.gnu.org/gnu/binutils/binutils-2.20.tar.gz )
> 3) I need sources of fpc and lazarus. I downloaded:
> - latest official fpc: fpcbuild-2.2.4.zip
> - Lazarus snapshots: e.g. today's
> lazarus-0.9.29-22952-20091204-src.tar.bz2
>
> Now knowledge is even more darkness... I tried to install binutils:
>
> cd ~/temp/buinutils
> ./configure
> make
> sudo make install
>
> My experience with linux is not very deep, so I don't know if it is
> installed right.
>
> After this, do I need to compile fpc and than lazarus? How?
>
> I became crazy... I think I will never develop for arm-linux without
> your step by step help...
>
> Thank you very much in advance!
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list