Quote Originally Posted by Jean-Fabrice View Post
The goal of the build environment is to be build ipk packages for the nslu2 and wl500 starting from an opensource software available somewhere on the Net (apache, php, pound, etc...).

If your plan is only to compile and run a few set of .c files you've written, the only things you need is this sub-part of Macsat tutorial (apart of the prerequisites) :
Code:
mkdir /opt
cd /opt < enter > 
wget http://www.asuscom.de/pub/ASUS/wireless/WL-500g-03/GPL_1927.zip < enter > 
tar zxf ./GPL_1927.zip < enter > 
cp -R /opt/broadcom/opt/brcm /opt < enter >
This will install the Asus cross compilation toolchain (a c compiler able to build stuff for broadcom architecture) on your linux machine.
You will also need Oleg's patched uClibc :
Code:
cd /var/tmp
wget http://oleg.wl500g.info/1.9.2.7-6b/wl500g-1.9.2.7-6b.tar.bz2
tar xjf wl500g-1.9.2.7-6b.tar.bz2
cd wl500g-1.9.2.7-6b
make uClibc
When this two points are done, you're ready to compile your own .c stuff using broadcom c compiler :
Code:
mipsel-uclibc-gcc -o helloworld
et voila.

JF
Hi Jean,

I am trying to compile helloworld.c just to learn how it works.
My hardware is WL-500gP V2, I installed Koppel firmware to get my cellular modem connected.

Aus server is temporary down.

As your HowTo is already some years old, please tell me if the GPL sources are still valid version for my router running today Koppel .
If not, what GPL sources should I select and from what place ?

greetings,

Happy New Year

Darius

BTW I will try to compile Linux Dialog for running my basic shell scripts.