|
![](static/image/common/ico_lz.png)
楼主 |
发表于 2012-10-4 11:53:37
|
显示全部楼层
还是我自己回答吧。。。
set up the cross compile envirenment:download backfire using svn,when make menuconfig select compile Toolchain. then make,wait for a long time.
afer compilation ,enter bin/ar7xx/,here
“~/openwrt/trunk/bin/ar71xx/OpenWrt-Toolchain-ar71xx-for-mips_r2-gcc-4.6-linaro_uClibc-0.9.33.2/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin$ “
Toolchain is a zip package,only unzip it you can use it.
Toolchain after unzip:tar jxvf name.bz2
Step 2:
write Hello World,here use C language,maybe support python.
compile the above Hello.c,hello is the executable program.
upload to the openwrt
run it |
|