|
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. |