Skip to contentSkip to conversation

Using QEMU for gcc testing

Qemu-devel Michael Eager 2 participants 3 messages Jul 19, 2012

lore
Share & tools
lore
#0 lore raw

I'm interested in using QEMU to test gcc for a processor. This is a hard-metal target -- there is no operating system.

Can anyone make suggestions on how to do this?

Signature · 2 lines
Michael Eager	 [email protected]
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077
#1 lore raw
Quoted 4 lines · Michael Eager

I'm interested in using QEMU to test gcc for a processor. This is a hard-metal target -- there is no operating system.

Can anyone make suggestions on how to do this?

You could look at how QEMU implements semihosting for ARM. And also how gcc and associated libraries are using semihosting for ARM. You could then use something similar for your processor.

HTH,

Laurent

#2 lore raw
Quoted 10 lines · Laurent Desnogues
Quoted 4 lines · Michael Eager

I'm interested in using QEMU to test gcc for a processor. This is a hard-metal target -- there is no operating system.

Can anyone make suggestions on how to do this?

You could look at how QEMU implements semihosting for ARM. And also how gcc and associated libraries are using semihosting for ARM. You could then use something similar for your processor.

Thanks. I found a couple references to semihosting on Google.

Signature · 2 lines
Michael Eager	 [email protected]
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077