Versione 2 del 2007-05-05 13:06:14

Nascondi questo messaggio
Italiano English
Modifica History Actions

CrossCompile

Cross Compile Software Sources

In this section we are going to see how to cross compile software for the mipsel architecture, to make it run on the Linksys WRT54GL router

First of all we need a compiler for such architecture, so grab a shell on your linux box and download the following

cd ~
wget ftp://ftp.linksys.com/opensourcecode/wrt54gl/4.30.9/WRT54GL_v4.30.9_US.tgz
tar -zxvf 

Please note that this compiler will produce binaries executable on the WRT54G router, but not on the Fonera

Now we have to add there new tools to out path

export PATH="~/WRT54GL_4_30_9_1101_US/tools/brcm/hndtools-mipsel-linux/bin:~/WRT54GL_4_30_9_1101_US/tools/brcm/hndtools-mipsel-uclibc/bin:$PATH"

Congratulation, you installed the compiler

Now lets get the newest OLSR sources