[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] curiocity on qemu link process
From: |
yunchengbao |
Subject: |
[Qemu-devel] curiocity on qemu link process |
Date: |
Thu, 02 Mar 2006 03:33:18 -0000 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.0.4) |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] curiocity on qemu link process,
yunchengbao <=