hi, I'm a qemu newbie and just got curious about how qemu (user-mode) is linked to be an "shared-object" executable. So I wrote a test program:
int main(void)
{
return 43;
}
then compile and link it like qemu:
cc -Wl,-shared -o test test.c
but when I run it, I have an "illegal instruction" error. why? Am I miss
something?
Thank you.
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
