qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Hello world program execution in qemu-riscvxx


From: Peter Maydell
Subject: Re: [Qemu-discuss] Hello world program execution in qemu-riscvxx
Date: Wed, 14 Aug 2019 14:09:23 +0100

On Wed, 14 Aug 2019 at 13:59, Mohamed Shafi <address@hidden> wrote:
>
> Hi,
>
> I was able to execute a hello world program in linux using the user lever
> binary in the following manner :
>
> qemu-riscv32 hello_world.elf
>
> I am trying to run a similar hello world program in the windows machine.
> But i see that user mode emulation is not supported in windows. How do i
> execute/run a hello world program in windows ?

As you say, user-mode is only supported for Linux hosts. On
a Windows host you'd need to boot an entire risc-v Linux in
the system-emulation QEMU, and then run programs inside it.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]