Hi everyone, I'm having a problem while trying to cross compile Valgrind
for ARM.
These are my whole process step by step:
1/ export PATH=$PATH:/usr/local/arm_linux_4.2/bin/ (export PATH to my cross
compiler)
2/ Extract valgrind-3.13.0
3/ cd to valgrind-3.13.0 folder
4/ Run command: sed -i -e "s#armv7#arm#g" configure (to allow cross compile
for ARM)
5/ sudo ./configure --host=arm-none-linux-gnueabi
6/ sudo make
and the following error pops up:
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-I../include -I../VEX/pub -I../VEX/pub -DVGA_arm=1 -DVGO_linux=1
-DVGP_arm_linux=1 -DVGPV_arm_linux_vanilla=1 -Ipriv -O2 -g -std=gnu99 -Wall
-Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes
-Wmissing-declarations -Wcast-qual -Wwrite-strings -Wformat
-Wformat-security -fno-stack-protector -fno-strict-aliasing -fno-builtin
-marm -mcpu=cortex-a8 -Wbad-function-cast -fstrict-aliasing -MT
priv/libvex_arm_linux_a-main_globals.o -MD -MP -MF
priv/.deps/libvex_arm_linux_a-main_globals.Tpo -c -o
priv/libvex_arm_linux_a-main_globals.o `test -f 'priv/main_globals.c' ||
echo './'`priv/main_globals.c
priv/main_globals.c:1: *error: bad value (cortex-a8) for -mcpu= switch *
Makefile:1254: recipe for target 'priv/libvex_arm_linux_a-main_globals.o'
failed
What am I doing wrong and how to fix this? Your help is very much
appreciated.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users