|
From: leo.leo <leo...@gm...> - 2010-07-19 05:47:59
|
Dear, all I checked out ARM release from svn://svn.valgrind.org/valgrind/branches/ARM, but it always fail to configure, could anyone give me a hand? Thanks. Command and log are shown as below: Commands: =========================== export CROSS_COMPILE=arm-linux- export CC=${CROSS_COMPILE}gcc export CPP=${CROSS_COMPILE}cpp export CXX=${CROSS_COMPILE}g++ export LD=${CROSS_COMPILE}ld export AR=${CRPSS_COMPILE}ar aclocal autoheader automake -a autoconf ./configure --build=arm-linux --host=arm Log: ======================================= checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for arm-linux-gcc... arm-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/home/b094/Desktop/valgrind/valgrind_arm': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. [b094@b094 ~/Desktop/valgrind/valgrind_arm]$ ./build.sh checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for armv7-strip... no checking for strip... strip configure: WARNING: using cross tools not prefixed with host triplet checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for armv7-gcc... arm-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-linux-gcc accepts -g... yes checking for arm-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of arm-linux-gcc... gcc3 checking whether arm-linux-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... arm-linux-cpp checking whether we are using the GNU C++ compiler... yes checking whether arm-linux-g++ accepts -g... yes checking dependency style of arm-linux-g++... gcc3 checking for armv7-ranlib... no checking for ranlib... ranlib checking for perl... /usr/bin/perl checking for gdb... /usr/bin/gdb checking dependency style of arm-linux-gcc... gcc3 checking for diff -u... yes checking for a supported version of gcc... ok (4.1.1) checking build system type... arm-unknown-linux-gnu checking host system type... Invalid configuration `armv7': machine `armv7' not recognized configure: error: /bin/bash ./config.sub armv7 failed [b094@b094 ~/Desktop/valgrind/valgrind_arm]$ ./build.sh checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-strip... no checking for strip... strip configure: WARNING: using cross tools not prefixed with host triplet checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for arm-gcc... arm-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-linux-gcc accepts -g... yes checking for arm-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of arm-linux-gcc... gcc3 checking whether arm-linux-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... arm-linux-cpp checking whether we are using the GNU C++ compiler... yes checking whether arm-linux-g++ accepts -g... yes checking dependency style of arm-linux-g++... gcc3 checking for arm-ranlib... no checking for ranlib... ranlib checking for perl... /usr/bin/perl checking for gdb... /usr/bin/gdb checking dependency style of arm-linux-gcc... gcc3 checking for diff -u... yes checking for a supported version of gcc... ok (4.1.1) checking build system type... arm-unknown-linux-gnu checking host system type... arm-unknown-none checking for a supported CPU... no (arm) Regards, Leo He |