Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to debug a SH4-App on x86-Architecture?: (4 Items)
   
How to debug a SH4-App on x86-Architecture?  
Hi,

I participate in a coding-competition at university, where we got a Momentics project to start with. It compiles fine 
but I ran into problems while trying to run it. I found out, that it is a project made for SH4-processors. Now I would 
like to know if there is a way to run or debug a SH4-binary on x86-architektur. Is there an emulator or something like 
that? Compling it for x86 failed, bacause there are libs involved that are precompiled for SH4.

Thanks a lot in advance.

Best regards
Tom
Re: How to debug a SH4-App on x86-Architecture?  
Tom Kugler wrote:
> Hi,
> 
> I participate in a coding-competition at university, where we got a
Momentics project to start with. It compiles fine but I ran into problems
while trying to run it. I found out, that it is a project made for
SH4-processors. Now I would like to know if there is a way to run or debug a
SH4-binary on x86-architektur. Is there an emulator or something like that?
Compling it for x86 failed, bacause there are libs involved that are
precompiled for SH4.
> 
> Thanks a lot in advance.
> 
There is no way to run SH4 binary on a x86 architecture directly. If you
don't have actual SH4 hardware, you can try running QEMU:
http://fabrice.bellard.free.fr/qemu/status.html. You will have to run
Neutrino on QEMU:
http://community.qnx.com/sf/wiki/do/viewPage/projects.qemu/wiki/NeutrinoAsGu
estInQEMU

Good luck :-)
Re: How to debug a SH4-App on x86-Architecture?  
Thank you very much.

I'll give it a try.

Best regards
Tom
Re: How to debug a SH4-App on x86-Architecture?  
AAAArrrgh, I just saw the following sentence:

"for all architectures supported by QNX except for SuperHitachi."

Found it on the second link (NeutrinoasGuestinQEMU).
Seems that this is not the way to go.

Nevertheless, thanks a lot.

Best regards
Tom