This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remote testing cross-gcc


Dimi Shahbaz <dshahbaz@ixiacom.com> writes:

> Hi,
> I have been wrestling with dejagnu and the gcc testsuites for more
> than a few days now.  I am trying to test a cross compiler tool chain.
> I cannot determine how to instruct dejagnu (or the gcc testsuites) to
> compile the tests on the local machine (i686) and run them (e.g.,
> transfer them, telnet into the machine, and execute the test) on a
> remote machine (ppc).
> 
> I am not entirely sure this is even possible, because I can find no
> information in the gcc manual.

You want to look in the dejagnu manual instead.  There's limited
information there, but there is some.  You don't need to do anything
special to the gcc testsuites, only to dejagnu.

The board description file should look like:

load_base_board_description "unix";
set board_info($board,connect) "rsh"
set board_info($board,rcp_prog) "rcp"
set board_info($board,hostname) "<my-hostname>"

> Has anyone been able to do something like this?

Yes, we do it all the time at Red Hat.

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]