|
From: Hrishikesh K. <hku...@li...> - 2007-04-06 05:03:05
|
I am trying to compile valgrind-3.2.3 for my ppc target
The machine I am trying to compile on is "x86_64 x86_64 x86_64
GNU/Linux"
The target machine I am planning to run valgrind on is powerpc
=20
I set=20
=20
1. CC =3D
tools/cross/gcc-3.2.3-glibc-2.3.2/powerpc-603-linux-gnu/bin/powerpc-603-
linux-gnu-gcc
=20
2. ./configure --host=3Dpowerpc-linux --disable-tls
=20
Last few lines of the configure output
"=20
Primary build target: PPC32_LINUX
Secondary build target:
Default supp files: glibc-2.3.supp
"
=20
3. make
=20
The compilation fails as
=20
tools/cross/gcc-3.2.3-glibc-2.3.2/powerpc-603-linux-gnu/bin/powerpc-603-
linux-gnu-gcc -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c
./auxprogs/genoffsets > pub/libvex_guest_offsets.h
/bin/sh: ./auxprogs/genoffsets: cannot execute binary file
=20
Did I do the .configure right?=20
=20
Rishi
=20
|