|
From: Mukesh K. S. <sr...@ya...> - 2007-02-11 14:23:18
|
Hi All. I am looking to perform cross-compile for mx21[ARM] using Valgrind for which I have done following - (a) uname -a Linux 2.6.16-1.2080_FC5 #1 Tue Mar 28 03:38:34 EST 2006 i686 i686 i386 GNU/Linux (b) Set the PATH for MX21 toolchain. (c) ./configure --prefix=/home/mukeshs/mx21 --exec-prefix=/home/mukeshs/mx21 --disable-tls --host=arm-linux --build=arm I get following error messages - --- checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for arm-linux-strip... arm-linux-strip 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 for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of arm-linux-gcc... gcc3 checking how to run the C preprocessor... arm-linux-gcc -E checking for arm-linux-g++... arm-linux-g++ 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-linux-ranlib... arm-linux-ranlib checking for perl... /usr/bin/perl checking for gdb... /usr/bin/gdb checking for a supported version of gcc... ok (arm-linux-gcc (GCC) 3.3.2) checking build system type... arm-unknown-none checking host system type... arm-unknown-linux-gnu checking for a supported CPU... no (arm) configure: error: Unsupported host architecture. Sorry --- Any clue to resolve error message "checking for a supported CPU... no (arm)". BR Mukesh --------------------------------- It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. |
|
From: Paul P. <ppl...@gm...> - 2007-02-11 14:27:08
|
Mukesh K. Srivastava wrote: > Any clue to resolve error message "checking for a supported CPU... no > (arm)". Clue: check whether the CPU is supported: http://valgrind.org/info/platforms.html Cheers, |
|
From: Tom H. <to...@co...> - 2007-02-11 15:29:53
|
In message <465...@we...>
"Mukesh K. Srivastava" <sr...@ya...> wrote:
> I am looking to perform cross-compile for mx21[ARM] using Valgrind for which I have done following -
Good luck...
> checking for a supported version of gcc... ok (arm-linux-gcc (GCC) 3.3.2)
> checking build system type... arm-unknown-none
> checking host system type... arm-unknown-linux-gnu
> checking for a supported CPU... no (arm)
> configure: error: Unsupported host architecture. Sorry
As you have just discovered, there is not support for ARM as a target
in valgrind.
> Any clue to resolve error message "checking for a supported CPU... no (arm)".
Implementing ARM support in valgrind is the only way to resolve it.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|