Using QEMU for gcc testing
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
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
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