arm-linux-g++: command not found,错误:/bin/sh: line 1: arm-linux-g++: command not found

./configure -xplatform linux-arm-g++ -qconfig qpe

编译的出错情况是这样:

echo '#include "kernel/qt.h"' >allmoc.cpp

arm-linux-g++ -E -DQT_MOC_CPP -I/usr/jin/qteqpe/qt-2.3.7/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -fPIC -DQT_NO_IMAGEIO_MNG -DQT_NO_QWS_VOODOO3 -DQT_NO_QWS_MACH64 -DQT_NO_QWS_MATROX -DQT_NO_QWS_VNC -DQT_NO_QWS_VGA_16 -DQT_NO_QWS_DEPTH_4 -DQT_NO_QWS_DEPTH_8 -DQT_NO_QWS_DEPTH_24 -DQT_NO_QWS_DEPTH_32 -DQT_BUILTIN_GIF_READER=0 -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG -DQT_NO_SM_SUPPORT -I/usr/jin/qteqpe/qt-2.3.7/src/3rdparty/zlib -I/usr/jin/qteqpe/qt-2.3.7/src/3rdparty/libpng -I3rdparty/kernel -I3rdparty/tools >allmoc.h allmoc.cpp

/bin/sh: line 1: arm-linux-g++: command not found

make[1]: *** [allmoc.cpp] Error 127

make[1]: Leaving directory `/usr/jin/qteqpe/qt-2.3.7/src'

make: *** [sub-src] Error 2

[root@localhost qt-2.3.7]#

解决方法:

SYSCONF_LINK = arm-linux-gcc

SYSCONF_LINK_SHLIB = arm-linux-gcc

均改为

SYSCONF_LINK = arm-linux-g++

SYSCONF_LINK_SHLIB = arm-linux-g++

你可能感兴趣的:(arm-linux-g++:,command,not,found)