This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SH4 regression testing
Jim Wilson <wilson@specifixinc.com> wrote:
> You don't do anything special to build/install the built-in simulators.
> The is brief documentation on using them under "target sim" in the
> Target Commands node, which tells you to use target sim, load, run. You
> should need to know anything else for most built in simulators.
>
> Running static linux binaries is possible, but not always implemented.
> Mainly this means having hooks for the system calls used by linux. I
> don't know offhand if the sh sim has this.
The current sh sim implements about 20 system calls for newlib.
Unfortunately linux binaries can't run on sim because the calling
convention of syscalls in linux is totally different with newlib's
one.
FYI, I'm using an evil remote execution system for linux binaries:
http://www.m17n.org/linux-sh/ml/linux-sh/2003-07/msg00019.html
It's working for various linux targets and I use a Dreamcast as
the sh4 target and a Sharp Zaurus as the arm target.
Regards,
kaz