|
From: Suman#SS185 A. <alu...@ho...> - 2007-06-23 09:15:05
|
Hi friends,=20 i am cross compiling the valgrind source code for arm architecture. I insta= lled the arm-linux-gcc cross compiler, i installed libxml2 for cross compil= ation it's working fine. When i tried to configure for cross compilation fo= r valgrind... it's not working. Please help me in cross compiling the valgr= ind source code..... i compiled like this: After unzipping ---------------------------------------------------------------------------= ----------------- [root@localhost valgrind-3.2.3]# ./configure --host=3Darm-linux host_alias= =3Darm-linux --exec-prefix=3D/usr/valgrind_targetconfigure: WARNING: If you= wanted to set the --build type, don't use --host. If a cross compiler i= s detected then cross compile mode will be used.checking for a BSD-compatib= le install... /usr/bin/install -cchecking whether build environment is sane= ... yeschecking for gawk... gawkchecking whether make sets $(MAKE)... yesch= ecking for arm-linux-strip... arm-linux-stripchecking whether to enable mai= ntainer-specific portions of Makefiles... nochecking whether ln -s works...= yeschecking for arm-linux-gcc... arm-linux-gccchecking for C compiler defa= ult output file name... a.outchecking whether the C compiler works... yesch= ecking whether we are cross compiling... yeschecking for suffix of executab= les...checking for suffix of object files... ochecking whether we are using= the GNU C compiler... yeschecking whether arm-linux-gcc accepts -g... yesc= hecking for arm-linux-gcc option to accept ANSI C... none neededchecking fo= r style of include used by make... GNUchecking dependency style of arm-linu= x-gcc... gcc3checking how to run the C preprocessor... arm-linux-gcc -Echec= king for arm-linux-g++... arm-linux-g++checking whether we are using the GN= U C++ compiler... yeschecking whether arm-linux-g++ accepts -g... yeschecki= ng dependency style of arm-linux-g++... gcc3checking for arm-linux-ranlib..= . arm-linux-ranlibchecking for perl... /usr/bin/perlchecking for gdb... /us= r/bin/gdbchecking for a supported version of gcc... ok (arm-linux-gcc (GCC)= 3.4.1)checking build system type... i686-pc-linuxchecking host system type= ... arm-unknown-linuxchecking for a supported CPU... no (arm)configure: err= or: Unsupported host architecture. Sorry ---------------------------------------------------------------------------= -------------- =20 What i have to do for getting valgrind cross compiled to my target. Which i= s arm-architecture. It is an embedded system, we cant configure on that sys= tem. _________________________________________________________________ Want to look great? Get expert opinion on beauty and skin care. http://content.msn.co.in/Lifestyle/AskExpert/Default01.htm= |
|
From: Robert W. <rj...@du...> - 2007-06-23 19:41:17
|
Valgrind doesn't support the ARM architecture, so you cannot cross compile for it. Regards, Robert. |