在Linux下编译好的.o文件发现在openWRT下面不能直接用。开始搞cross compile。
参考:Cross Compiling C Program for OpenWrt - Hello World Tutorial
openWRT version:
首先查看openWRT的版本信息和cpu信息:
cat /etc/banner
cat /proc/cpuinfo
Ubuntu:
在Ubuntu中下载好openWRT,执行:
在Linux下编译好的.o文件发现在openWRT下面不能直接用。开始搞cross compile。
参考:Cross Compiling C Program for OpenWrt - Hello World Tutorial
首先查看openWRT的版本信息和cpu信息:
cat /etc/banner
cat /proc/cpuinfo
在Ubuntu中下载好openWRT,执行: