Compiling linux applications for the Freerunner

Trevanian admin at
Fri Jan 23 19:21:43 CET 2009


I am new to compiling applications for different architectures like ARMv4.
I'd like to compile the "BetaFTPd", a small and fast single-threaded FTP
deamon, for the Neo Freerunner. I have only compiled source code within my
x86 environment and am not familiar with the prerequesites for compiling
source code for different architectures. 
I already took a look at the openmoko-wiki-page but I am still a little bit
confused. I read words like "Toolchain", ".bb-files", MokoMakeFile,...

BetaFTPd has no further dependencies but libgcc1 and is very small (20KB).
So what do I need? As far as I understood it I have to get the Toolchain +
its needed prerequesites (following the instructions on the wiki->Toolchain)
and will then be able to compile my application. So no need for MokoMakeFile
or any .bb-file. Am I right or did I miss(interpret) something?

Considering the ToolChain: I tried setting it up but I had problems with
using "opkg-target" as described in the wiki. There even is no binary called
like that after setting up the toolchain. 

I first installed all by the toolchain needed applications, libraries,.. (as
explained in the wiki) with apt-get and then used the following commands on
my System (Ubuntu 8.10) to set up the toolchain:

bunzip2 openmoko-*-arm-linux-gnueabi-toolchain.tar.bz2
gzip openmoko-*-arm-linux-gnueabi-toolchain.tar
fakeroot alien -d openmoko-*-arm-linux-gnueabi-toolchain.tar.gz
sudo dpkg -i openmoko_*-arm-linux-gnueabi-toolchain*.deb
. /usr/local/openmoko/arm/setup-env
export PATH=$PATH:/usr/local/openmoko/arm/bin

Thanks in advance,
View this message in context:
Sent from the Openmoko Devel mailing list archive at

More information about the devel mailing list