|
From: Lothar R. <l.r...@we...> - 2008-02-26 22:44:47
|
Hello, I would like to use Valgrind/memcheck on a PowerPC architecture. On the target system will be a Linux installation but I have to use a cross-compiler. My question is now, how to compile valgrind for a PPC system using a crosscompiler? I already thought about copying some of the config files to the system, run them and modifying the make file... but there must be a "normal" way. Hence, plz can you give me a brief explanation how to configure, compile and move the resulting valgrind files to a system, using a cross compiler? Perhaps someone has a link for this situation, e.g. a howto.. Thanks in advance, L _______________________________________________________________________ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220 |
|
From: Florian K. <br...@ac...> - 2008-02-27 03:40:00
|
On Tuesday 26 February 2008 5:44:45 pm Lothar Rubusch wrote: > Hello, > > I would like to use Valgrind/memcheck on a PowerPC architecture. On the > target system will be a Linux installation but I have to use a > cross-compiler. > > My question is now, how to compile valgrind for a PPC system using a > crosscompiler? > ./configure --host=powerpc-linux-gnu --enable-tls I'm just guessing the configuration triple here. You need to substitute what is right for your environment. Make sure the cross compiler is on your PATH. If your building from svn you also need to working combination of the autotools. I use autoconf 2.61 and automake 1.7 and those work. Florian |