[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] Need to test C program on ppc
From: |
Suraj Jitindar Singh |
Subject: |
Re: [Qemu-ppc] Need to test C program on ppc |
Date: |
Mon, 01 May 2017 13:22:34 +1000 |
On Sun, 2017-04-30 at 14:52 -0400, G 3 wrote:
> On Apr 30, 2017, at 12:00 PM, address@hidden wrote:
> >
> >
> > Hello,
> > I have just installed qemu on my linux (RHEL) machine. I need to
> > test my C
> > program on PPC. How can I achieve this using qemu? Please guide.
If you don't care too much about the operating system environment then
you can use the linux-user simulator which simulates a linux
environment rather than an entire system.
You can test a binary as follows:
$ qemu-ppc64le /path/to/binary/hello_world
Hello World
> >
> > Thanks & Regards,
> Yes you can. You would just install a PowerPC operating system into
> QEMU then install the needed development tools.
>
> This page will help: http://wiki.qemu.org/Documentation/Platforms/
> PowerPC
>