因为要参加博创杯的比赛,但是学校的条件有限,实验箱用的是UP-TECH P270 DVP
处理器是s3c2410 ,里面的系统是linux-2.6.9 配套的pc操作系统是rhel4,当然内核也是2.6.9。交叉
编译器用的是 3.4.6
下面是我的configure参数:
- ./configure -prefix /opt/QtEmbedded-4.7.2-arm -opensource -release -shared-embedded arm -xplatform qws/linux-arm-g++ -depths 16,18,24 -fast-optimized-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -qt-libpng-qt-freetype -little-endian -host-little-endian -no-qt3support -no-libtiff-no-libmng -no-opengl -no-mmx -no-sse -no-sse2 -no-3dnow -no-openssl-no-webkit -no-qvfb -no-phonon -no-nis -no-opengl -no-cups -no-glib-no-xcursor -no-xfixes -no-xrender -no-separate-debug-info -nomake examples-nomake tools -nomake docs
在执行gmake时出现的
错误在下面:
from
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:44:
../3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:320:6: #error "Not
supported
ARM architecture"
gmake[1]: *** [obj/release/pcre_compile.o] 错误 1
gmake[1]: Leaving directory
`/root/qt-everywhere-opensource-src-4.7.2/src/script'
gmake: *** [sub-script-make_default-ordered] 错误 2