qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jocelyn Mayer <jma@netgem.com>
To: qemu mailing list <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] non linux host?
Date: 11 Aug 2003 18:33:56 +0200	[thread overview]
Message-ID: <1060619636.29139.121.camel@jma1.dev.netgem.com> (raw)
In-Reply-To: <20030809140708.GM1077@bnbt.de>

On Sat, 2003-08-09 at 16:07, Gerhard Pfeiffer wrote:
> Hi,
> 
> On Sat, Aug 09, 2003 at 01:27:32PM +0200, Jocelyn Mayer wrote:
> > > Can qemu compile on a non-linux host? will it run? is it possible to 
> > > make it do this? or does the basic design of qemu make this impossible. 
> > > I'm running MacOSX (mach kernel w/ most of freebsd on top). is this any 
> > > kind of possible? :-)
> > I tried to compile qemu on MacOS X some times ago.
> > There are some headers to adjust to make the core compile.
> > This can be done in a portable way, for all BSD flavors and should be
> > easy.
> 
> Which headers are these? When I try to compile it, there seem to be some
> elf-headers needed.

the headers like linux/*.h or asm/*.h
have to be replaced with the right headers from machine/*.h
on BSD OSes.
> 
> > But the syscall and ioctl handlers must be rewrote.
> > This can be quite long and not so funny.
> > But there's no real problem to adapt it,
> > except that it hasn't been done yet !
> 
> in http://mail.gnu.org/archive/html/qemu-devel/2003-07/msg00084.html Fabrice
> said, that ELF binutils/gcc would be needed to compile some parts of qemu.
> How to get ELF binutils/gcc in darwin? One would also need an
> elf-compatible-libc to compile things with it, if I'm taken right.
> 
I think the libc won't be a problem, as long as GNU ld is supposed to be
able to link files of different binary formats.
I think you can produce ELF binaries with the Darwin's binutils,
but I didn't check that point. But you can still install antoher
binutils version, able to produce ELF and mach-O binaries,
if you compile them from the Apple tarball.


> > Just have to find the courageous one who'll do the work :-)
> 
> How about you? ;-)

I'll think of it :-)
I already did something related to this.
I have a emulation for BSD under Linux.It's not complete and 
works only qith simple programs...
But for now, I want to have a functional PPC emulation in qemu
and see it integrated before I start something like this.
It would be a good train for me to know better BSD and improve my BSD
emulator :=) 

Regards.

-- 
Jocelyn Mayer <jma@netgem.com>

  parent reply	other threads:[~2003-08-11 16:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-09 11:16 [Qemu-devel] non linux host? John Davidorff Pell
2003-08-09 11:27 ` Jocelyn Mayer
2003-08-09 14:07   ` Gerhard Pfeiffer
2003-08-09 14:32     ` Herbert Pötzl
2003-08-09 16:36       ` Gerhard Pfeiffer
2003-08-11 16:33     ` Jocelyn Mayer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-08-10  5:38 John Davidorff Pell
2003-08-10 13:29 ` Lionel Ulmer
2003-08-11 22:40   ` Fabrice Bellard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1060619636.29139.121.camel@jma1.dev.netgem.com \
    --to=jma@netgem.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).