|
From: Bryan S. <bsc...@sa...> - 2007-05-18 13:49:44
|
Naveen Kumar <g_naveen_k <at> yahoo.com> writes: > > Hi > I am trying to cross compile valgrind on a host x86 pc for a target power > pc platform. I have all cross tools in place(gcc,ar, ld, etc) > and > they are named as ppc_XXX-gcc ppc_XXX-ld etc. Is there a way to specify > to ./configure to use these tools instead of the host default. ? > I tried giving --host=ppc_XXX and --host=powerpc-linux but neither worked. > Hello, I had problem similar except I am crosscompiling from an x86 windows box, but resolving that is another story. Here is how I got it to use another set of tools ./configure --prefix=/valgrind CC=/opt/montavista/pro_adk/devkit/x86/pentium4/bin/pentium4-gcc --target=i486 --host=i686-intel-linux --disable-tls Replace the path listed in CC with your path and it seems to figure out everything else OK. Good luck |