参考这篇文章“Fedora8上交叉编译qtopia4移植成功到s3c2410开发板”
http://blog.ifeng.com/article/1659857.html移植软件资源如下:
1.Red Hat Linux 9.0(主机操作系统)
2.gcc-3.4.1.tar.gz(主机编译器)
3.arm-linux-gcc-3.4.1.tar.bz2(交叉编译器)
4.tslib-1.3.tar.bz2(管理目标平台的触摸屏)
5.qtopia-opensource-src-4.2.1.tar.gz(包含Qt,Qtopia core)
当执行以下命令:
# ./configure -silent -release
-image /mnt/nfs/qtopia4/qtopiatslibtarget
-prefix /mnt/nfs/qtopia4/qtopiatslibtarget
-xplatform linux-arm-g++ -arch arm -no-qvfb
-displaysize 640x480 -no-modem
-extra-qtopiacore-config "-release -xplatform qws/linux-arm-g++ -embedded arm -opengl -qconfig qpe -qt-sql-sqlite
-depths 4,8,16,32 -qt-kbd-usb -no-kbd-tty -no-mouse-linuxtp
-qt-mouse-tslib -I/mnt/nfs/tslib1.3-install/include -L/mnt/nfs/tslib1.3-install/lib" 2>../qtopiaconfgureERR.txt
出现错误:
...........
...........(省略)
Checking the compiler (host): FAIL (can not run binaries)
这是怎么回事?我安装的gcc3.4.1试过,能正常使用啊!哪里出了问题?谢谢!