OpenWrt Forum Archive

Topic: C Compiler for DLink DSL G604T

The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I'm search how to compile little C programs for my Dlink G604T router, here is the cpuinfo:
# cat /proc/cpuinfo
processor               : 0
cpu model               : MIPS 4KEc V4.8
BogoMIPS                : 149.91
wait instruction        : no
microsecond timers      : yes
extra interrupt vector  : yes
hardware watchpoint     : yes
VCED exceptions         : not available
VCEI exceptions         : not available

I tryed with http://www.andrewbetts.com/dlink/mipsel … sp.tar.bz2 but it seems that the gcc don't work, it output nothing.
I also tryed with http://www.linux-mips.org/wiki/Toolchains#GCC but I have not the headers...

Can anyone help ?

Regards,

If I were you, I would port my code to openwrt. This way, I can easily compile/package/install to my device.

I don't want that, I just want the compiler hmm

The discussion might have continued from here.