On Fri, 2012-05-11 at 14:52 +0200, Peter Gavin wrote: 
> By the way, I can't figure out how to get the gcc testsuite to use
> or1k-elf-run to execute the testsuite stuff.  It wants to run the
> executables directly, which obviously does not work.

Hi Pete,

Have a look at the DejaGnu setup (i.e. site.exp) for the current tool
chain. You'll need to tell the test stuff where the target compilers are
and what simulator to use.

It's pretty simple for ELF using CGEN simulator, not much harder to use
Or1ksim. A bit more complex for Linux applications with FTP/telnet into
busybox.

If it helps, I wrote this app note on using DejaGnu:

        http://www.embecosm.com/download/ean8.html

Best wishes,


Jeremy

-- 
Tel:      +44 (1590) 610184
Cell:     +44 (7970) 676050
SkypeID: jeremybennett
Email:   [email protected]
Web:     www.embecosm.com

_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to