Let me see if I understand this right - qemu loads the a.out and begins to interpret the x86 instructions in the a.out and when a system call happens, it makes the call the host system .... is that right?
On Wed, Aug 11, 2010 at 2:12 PM, Stefan Weil <w...@mail.berlios.de> wrote: > Am 11.08.2010 10:31, schrieb C K Kashyap: > > Hi, > I've built qemu on my mac osx using this config - > ./configure --prefix=/Users/ckk/local/ --target-list="i386-softmmu > x86_64-softmmu" --enable-linux-user > > Now, I have a simple a.out built on linux - how can I run it using qemu on > my mac box? > > -- > Regards, > Kashyap > > > Hi Kashyap, > > you cannot run it in user mode emulation unless you replace Mac OS by Linux > on your mac box. Linux user emulations requires a Linux host. > > If you have a Linux host, you would need --target-list=i386-linux-user. > > You can run your a.out if you run system emulation (e.g. i386-softmmu/qemu) > and install Linux there, of course. > > Regards, > Stefan > -- Regards, Kashyap