环境设置好了 也测试了arm-linux-gcc可以使用,但在用arm-linux-gcc编译qt时,出现以下问题:
cwj@caiweijie-desktop:/usr/local/src/EduKit-IV/Mini2410/simple/12.4-qtopia-arm$ source /usr/crosstool/gcc-3.4.5-glibc-2.3.6/arm-linux/path.sh
arm-linux crosstool path: /usr/crosstool/gcc-3.4.5-glibc-2.3.6/arm-linux/bin^_^: PATH=/usr/crosstool/gcc-3.4.5-glibc-2.3.6/arm-linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
cwj@caiweijie-desktop:/usr/local/src/EduKit-IV/Mini2410/simple/12.4-qtopia-arm$ sudo sh arm-qt2.2-tsp.sh
[sudo] password for cwj:
Ready,go...
Remove old directory...
Make new directory....
Check your cross comilper [arm-linux-gcc]
arm-qt2.2-tsp.sh: 34: arm-linux-gcc: not found
ERROR: Check cross comilper [arm-linux-gcc] false!
exit: 34: Illegal number: -1
------解决方案--------------------
arm-linux crosstool path: /usr/crosstool/gcc-3.4.5-glibc-2.3.6/arm-linux/bin^_^:
这笑脸是什么……
查一下你path.sh里的环境变量吧……
------解决方案--------------------