|
在交叉编译时,输入指令 ./configure --host=arm-linux --without-gtk --without-carbon --without-quicktime --without-1394libs --without-ffmpeg --without-python --without-swig --enable-static --disable-shared --disable-apps CXX=armv4l-unknown-linux-g++ CPPFLAGS=-I/usr/include
时,相应的显示configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... autotools/config.guess: unable to guess system type
This script, last modified 2005-12-13, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
and
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
If the version you run (autotools/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = 2005-12-13
uname -m = i686
uname -r = 2.6.18-53.el5
uname -s = Linux
uname -v = #1 SMP Wed Oct 10 16:34:02 EDT 2007
/usr/bin/uname -p =
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = i686
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = i686
UNAME_RELEASE = 2.6.18-53.el5
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Wed Oct 10 16:34:02 EDT 2007
configure: error: cannot guess build type; you must specify one
,请高手解答 |
|