Italiano English
Modifica History Actions

Differenze per "CrossCompile"

Differenze tra le versioni 1 e 2
Versione 1 del 2007-05-05 12:28:10
Dimensione: 497
Autore: ZioPRoTo
Commento:
Versione 2 del 2007-05-05 13:06:14
Dimensione: 813
Autore: ZioPRoTo
Commento:
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 6: Linea 6:
First of all we need a compiler for such architecture, so grab a shell on your linux box and download the follwing First of all we need a compiler for such architecture, so grab a shell on your linux box and download the following
Linea 9: Linea 9:
ftp://ftp.linksys.com/opensourcecode/wrt54gl/4.30.9/WRT54GL_v4.30.9_US.tgz cd ~
wget
ftp://ftp.linksys.com/opensourcecode/wrt54gl/4.30.9/WRT54GL_v4.30.9_US.tgz
tar -zxvf
Linea 13: Linea 15:

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

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