simple shell script for help compiling progs for openwrt.
#!/bin/bash export PATH=/ow/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/bin/:$PATH gcc_cmd='mips-openwrt-linux-uclibc-gcc -I/ow/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/ow/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/ow/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/include -I/ow/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/include -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -ffunction-sections -fdata-sections -L/ow/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib -L/ow/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/lib -L/ow/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/lib -L/ow/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib -Wl,--gc-sections ' alias mgcc=$(echo $gcc_cmd)
usage:
$ source ./rt_gcc.sh
$ mgcc -o hello hello.c
Nice that you been shared here. I got some good tips on the code and us I check it up I can used it through my ipad2 with this kind of instruction.
Vertical Blinds
I don’t know what to say because i couldn’t find any information about this post. But i would like to thank you for sharing this source codes.
I got some good tips in your article. I really appreciate it that you have been shared it to us. Keep on posting on your blog.