|
From: Alessandro B. <a.b...@ev...> - 2010-09-14 08:23:34
|
Hi, I compiled the Valgrind test suite for a different architecture of compile system with: $ make CROSS_COMPILE=powerpc-860-linux-gnu CC=powerpc-860-linux-gnu-gcc regtest After the compiler step Valgrind try to execute the tests but it can't (the architecture is different). Now I'd like to execute this tests on the target platform (that isn't the same of compile) and not after the compile step. How can I do this? Thanks a lot. Best Regards |
|
From: John R. <jr...@bi...> - 2010-09-14 14:59:51
|
> $ make CROSS_COMPILE=powerpc-860-linux-gnu CC=powerpc-860-linux-gnu-gcc > regtest > Now I'd like to execute this tests on the target platform (that isn't > the same of compile) and not after the compile step [which was performed > on the build platform.] On the target platform, make it look as if you had just completed a native build, then run "make regtest". To do this, go to the build platform, create a 'tar' archive of the build tree, go to the target platform, extract the 'tar' archive so that all files have the same rooted pathnames as on the build platform. Then install (perhaps by "make install") and finally "make regtest". -- |
|
From: Alessandro B. <a.b...@ev...> - 2010-09-15 07:58:26
|
On 14/09/2010 16:59, John Reiser wrote: >> $ make CROSS_COMPILE=powerpc-860-linux-gnu CC=powerpc-860-linux-gnu-gcc >> regtest >> > >> Now I'd like to execute this tests on the target platform (that isn't >> the same of compile) and not after the compile step [which was performed >> on the build platform.] >> > On the target platform, make it look as if you had just completed > a native build, then run "make regtest". To do this, go to the build > platform, create a 'tar' archive of the build tree, go to the > target platform, extract the 'tar' archive so that all files have > the same rooted pathnames as on the build platform. Then install > (perhaps by "make install") and finally "make regtest". > > Thanks it's a great idea. But I have always a problem after the copy of files in target board. Typing "make regtest" it want to rebuild some files. I don't have a native compiler for the target board but only a cross-compiler. So I need that make regtest doesn't rebuild any files but only executes the tests. Some help?? Thanks. |
|
From: Bart V. A. <bva...@ac...> - 2010-09-15 18:24:19
|
On Wed, Sep 15, 2010 at 9:58 AM, Alessandro Biasci <a.b...@ev...> wrote: > > On 14/09/2010 16:59, John Reiser wrote: > >> $ make CROSS_COMPILE=powerpc-860-linux-gnu CC=powerpc-860-linux-gnu-gcc > >> regtest > >> > > > >> Now I'd like to execute this tests on the target platform (that isn't > >> the same of compile) and not after the compile step [which was performed > >> on the build platform.] > >> > > On the target platform, make it look as if you had just completed > > a native build, then run "make regtest". To do this, go to the build > > platform, create a 'tar' archive of the build tree, go to the > > target platform, extract the 'tar' archive so that all files have > > the same rooted pathnames as on the build platform. Then install > > (perhaps by "make install") and finally "make regtest". > > > > > Thanks it's a great idea. > > But I have always a problem after the copy of files in target board. > Typing "make regtest" it want to rebuild some files. > I don't have a native compiler for the target board but only a > cross-compiler. So I need that make regtest doesn't rebuild any files > but only executes the tests. Have you already tried to run the command "perl tests/vg_regtest" ? Bart. |