Hello! I'm trying to compile a simple script for a ar71xx (bleeding edge /from snapshots) router.
I have previously compiled scripts for Kamikaze 8.09. I just copied the gcc file inside the SDK dir and used it without problems.
Now I tried doing the same for http://downloads.openwrt.org/snapshots/trunk/ar71xx/
But every time I try to execute it:
[root@centos]# ./gcc src/hello.c -o hello
-bash: ./gcc: cannot execute binary fileNote: I downloaded the "OpenWrt-SDK-ar71xx-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.32" from the previous link. I used the gcc executable inside the "staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.32/mips-openwrt-linux-uclibc/bin" directory.
Am I doing something wrong? How can I compile simple scripts for my DIR 825?
thank you
(Last edited by aztroboy on 12 Feb 2011, 04:51)
