This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: howto run cross testings with help of translators
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: Lijuan Hai <hailijuan at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 12 Mar 2008 07:15:11 +1100
- Subject: Re: howto run cross testings with help of translators
- References: <48353bf60803110532s688b0162x705cc2e3f0616c9@mail.gmail.com>
> I have a developing cross compiler sparc-sun-solaris2.10-gcc on x86.
> There is an available binary translator that could execute SPARC ELF
> on x86 machines. so I want to run testings by runtest. It would
> definitely help a lot if anyone could give clues on how to manage it.
You want a SPARC simulator that can run under DejaGnu. If you can find
a setup that would allow you to run "sparcsim <binary>", that would be
best, as it would make the DejaGnu setup quite simple -- see the other
Dejagnu baseboard files for examples.
Another way is to find a full system simulator, boot an operating system
with a telnet/ftp server running and have DejaGnu copy the test cases
into the simulator and then log in to execute them. In that case, the
setup is more like a convention cross-testing arrangement where the
machine doing the testing logs into the target.
Anyway, this is probably off-topic for the GCC list. Please direct any
follow-ups to the DejaGnu mailing list. Thanks.
Ben