PDA

Bekijk de volledige versie : Compiling on/for the WL-500g



dsf260
11-12-2004, 06:03
Can I use the WL-500g to compile source code, or do I need a separate linux system to do it.

I'm working on the iTunes server, and am trying to get Rondezvous up and and running. I've downloaded the source, and I need to execute the config/make command combo, but I don't think I can do that through telnet.

Still getting up to speed on Linux, but making progress.

Thanks for the help.

Darren

Oleg
11-12-2004, 09:52
You need separate linux box.

dsf260
11-12-2004, 15:21
So basically I need to do the following:

1) copy some libraries to my WL-500g ftp/shared drive (don't know which ones--what directories do I need to copy?)
2) get a knoppix distro to run on my main rig
3) get shared drive mounted on knoppix
4) get sources I need
5) somehow get config/makefile/make to point to WL-500g libraries for compiling when it needs them
6) copy completed binary to shared drive

Is that right?

Oleg
11-12-2004, 16:18
no, you do not needed libraries from the wl500g. You just need to install toolchain, which is the source package and it will provide all required compilers and libraries.

xtraya
11-12-2004, 16:20
1. mips compiler
2. linux computer
3. what more?

hugo
11-12-2004, 16:29
Install Linux (fedora core 2 or 3 will do)

get the GPL_1817.tar.gz from asus.

Follow instruction inside the readme concerning links to /opt folder and setting PATH variable

Get oleg's firmware modification from http://wl500g.dyndns.org

Follow the how-to instruction to get your own firmware

compile your own proggies using a CC=/opt/...../mipsel-uclic-gcc ./configure --host=mipsel-linux and any other option needed by the configure script.

then do a make if everything is ok

If a specific library is needed, make it before your prog, and use it's path as a ./configure option (use ./configure --help to know which one)

If your proggram doesn't use configure script, learn a bit more about compilation to make it work using mipsel gcc.

xtraya
11-12-2004, 17:36
ok, but how to compile specific program (example is iptraf... allredy compiled)
there are so much things for linux of course

hugo
11-12-2004, 19:13
read my post, it's all inside. Downlaod iptraf, and you will find ./configure

sodb
12-12-2004, 10:54
see 666 for explanation on how to install iptraf on asus