> I'm trying to run the GCC testsuite for the mingw target, on a i686- > darwin host. The cross compiler builds fine, and I have wine > installed, so I'd like testsuite executables, once compiled, to simply > run under wine (that means, instead of running "PR10431.exe", running > "wine PR10431.exe"). I've found a crude way to do this by patching my > system dejagnu config file (/usr/share/dejagnu/config/unix.exp):
I think the right way to handle this is to treat wine as a simulator. Take a look at some of the existing dejagnu board definitions to see how to do this. Perhaps something like: set_board_info sim xt-run Cheers, Ben