Chris,

> I'm trying to cross-compile Valgrind 3.3.1 on a x86
> running Linux 2.6.9 for a PPC8313 that will be running Linux 2.6.21.? I tried 
> the following for my configure
> script:
> 
>  ? 
> 
> ./configure --prefix=/home/cbornman/bin/valgrind
> --host=i686-intel-linux --target=powerpc-linux --disable-tls

beside the already posted answers regarding cross compilation of 
valgrind---which I don't know anything about specifically---,if I got 
you right, you want to compile valgrind on the i686 and run it on the 
PPC? In this case your arguments are in general wrong for autoconf. host 
specifies the architecture that is going to host (run) the application, 
and target specifies the architecture that the application is going to 
produce code for. target is more or less only needed if you build 
compilers. In your case you have to specify build, which is the 
architecture where the build takes place, and host:

... --build=i686-intel-linux --host=powerpc-linux

But as I said, this is a general autoconf thing and doesn't fix any 
other problems that might be with valgrind being cross-compilable.

Cheers,
Christian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to