qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] re: [Patch] Mac OS X Port
@ 2004-07-02 23:14 Fred Hope
  2004-07-03  9:18 ` Raphaël Enrici
  0 siblings, 1 reply; 5+ messages in thread
From: Fred Hope @ 2004-07-02 23:14 UTC (permalink / raw)
  To: qemu-devel

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
<font size="3"><font face="Comic Sans MS,sans-serif">Pierre,<br>
<br>
Great work and congrats on making that OS X port of qemu; I'm sure it's
no easy task.&nbsp; I downloaded the patch file you included (qemuosx.diff)
but am not sure what to do with it.&nbsp; I discovered that there is a
"diff" Unix program; does this patch involve using diff somehow in
Terminal?&nbsp; Perhaps, but I'm not sure of the exact commands to use.&nbsp; I
don't know much about this sort of development or coding (though I know
some C, Obj-C, and Cocoa)...could someone please tell me how to use
that patch?&nbsp; I already have a copy of the qemu source code from CVS; I
downloaded it weeks/months ago.<br>
<br>
Thanks,<br>
Fred Hope<br>
</font></font>
</body>
</html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] re: [Patch] Mac OS X Port
  2004-07-02 23:14 [Qemu-devel] re: [Patch] Mac OS X Port Fred Hope
@ 2004-07-03  9:18 ` Raphaël Enrici
  0 siblings, 0 replies; 5+ messages in thread
From: Raphaël Enrici @ 2004-07-03  9:18 UTC (permalink / raw)
  To: qemu-devel

Fred Hope wrote:

> Pierre,
>
> Great work and congrats on making that OS X port of qemu; I'm sure 
> it's no easy task.  I downloaded the patch file you included 
> (qemuosx.diff) but am not sure what to do with it.  I discovered that 
> there is a "diff" Unix program; does this patch involve using diff 
> somehow in Terminal?  Perhaps, but I'm not sure of the exact commands 
> to use.  I don't know much about this sort of development or coding 
> (though I know some C, Obj-C, and Cocoa)...could someone please tell 
> me how to use that patch?  I already have a copy of the qemu source 
> code from CVS; I downloaded it weeks/months ago.

Hi Pierre,

checkout qemu from CVS:
<>export CVS_RSH="ssh"
cvs -z3 -d:ext:anoncvs@savannah.nongnu.org:/cvsroot/qemu co qemu
cd qemu
patch -p0 < location_of_your_diff_file

Take a look at "man patch" for futher details.

Regards,
Raphaël

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] Re: [Patch] Mac OS X Port
  2004-07-02 22:56 [Qemu-devel] " Pierre d'Herbemont
@ 2004-07-04  7:21 ` Christian Walther
  2004-07-04 10:08   ` Pierre d'Herbemont
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Walther @ 2004-07-04  7:21 UTC (permalink / raw)
  To: qemu-devel

Wow! It works! And it even has networking! Cool! That's the moment I was 
hoping for when I started observing the qemu list some weeks ago... :)

It also boots Windows 95, Windows 98 SE and the Mandrake Linux 10.0 
installer.

A few questions and remarks:

o To make it compile, I had to make the following change to 
Makefile.target: add $(SDL_CFLAGS) to the %.o %.c rule. ($(CC) $(CFLAGS) 
$(DEFINES) $(SDL_CFLAGS) -c -o $@ $<)

o Is PPC emulation supposed to work? When I try to compile it, I get the 
following:
gcc -Wall -O2 -g -fno-strict-aliasing -D__powerpc__ -I. 
-I/Users/cwalther/Desktop/Incoming/qemu/qemu/target-ppc 
-I/Users/cwalther/Desktop/Incoming/qemu/qemu -D_GNU_SOURCE 
-I/Users/cwalther/Desktop/Incoming/qemu/qemu/slirp -I/sw/include/SDL 
-D_THREAD_SAFE -c -o translate.o 
/Users/cwalther/Desktop/Incoming/qemu/qemu/target-ppc/translate.c
/var/tmp//ccfgCnLg.s:534:Expected comma after segment-name
/var/tmp//ccfgCnLg.s:534:Rest of line ignored. 1st junk character valued 
32 ( ).
/var/tmp//ccfgCnLg.s:662:Expected comma after segment-name
/var/tmp//ccfgCnLg.s:662:Rest of line ignored. 1st junk character valued 
32 ( ).
[... 203 more of these ...]
/var/tmp//ccfgCnLg.s:31194:Expected comma after segment-name
/var/tmp//ccfgCnLg.s:31194:Rest of line ignored. 1st junk character 
valued 32 ( ).
/var/tmp//ccfgCnLg.s:31312:Expected comma after segment-name
/var/tmp//ccfgCnLg.s:31312:Rest of line ignored. 1st junk character 
valued 32 ( ).
make[1]: *** [translate.o] Error 1
make: *** [all] Error 1
myriad:qemu cwalther$ cc --version
cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1640)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

o Is there a reason for the window to be resizable? When I tried 
resizing it, qemu just crashed.

Thanks!

  -Christian

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Re: [Patch] Mac OS X Port
  2004-07-04  7:21 ` [Qemu-devel] " Christian Walther
@ 2004-07-04 10:08   ` Pierre d'Herbemont
  2004-07-04 10:37     ` Leigh Dyer
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre d'Herbemont @ 2004-07-04 10:08 UTC (permalink / raw)
  To: qemu-devel


Le 4 juil. 04, à 09:21, Christian Walther a écrit :

> o To make it compile, I had to make the following change to 
> Makefile.target: add $(SDL_CFLAGS) to the %.o %.c rule. ($(CC) 
> $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<)

Weird, you shouldn't need to do it.

> o Is PPC emulation supposed to work? When I try to compile it, I get 
> the following:

No, its not, but I have more patch to make it compile.

> o Is there a reason for the window to be resizable? When I tried 
> resizing it, qemu just crashed.

How does it go with the Qemu/Linux?

Pierre

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Re: [Patch] Mac OS X Port
  2004-07-04 10:08   ` Pierre d'Herbemont
@ 2004-07-04 10:37     ` Leigh Dyer
  0 siblings, 0 replies; 5+ messages in thread
From: Leigh Dyer @ 2004-07-04 10:37 UTC (permalink / raw)
  To: qemu-devel


On 04/07/2004, at 8:08 PM, Pierre d'Herbemont wrote:

>
> Le 4 juil. 04, à 09:21, Christian Walther a écrit :
>
>> o To make it compile, I had to make the following change to 
>> Makefile.target: add $(SDL_CFLAGS) to the %.o %.c rule. ($(CC) 
>> $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<)
>
> Weird, you shouldn't need to do it.
>
I also had trouble building due to the compiler not finding SDL 
headers. I added the path to the SDL headers in to the CFLAGS in 
Makefile.target and that fixed things. I didn't think of adding 
$(SDL_CFLAGS), but I guess that probably would have done the job too.

Apart from that, it looks good :) I haven't had a chance to play with 
Windows yet, but some Linux ISOs I had handy ran just as they do on 
qemu under Linux.

Thanks
Leigh

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-07-04 11:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-02 23:14 [Qemu-devel] re: [Patch] Mac OS X Port Fred Hope
2004-07-03  9:18 ` Raphaël Enrici
  -- strict thread matches above, loose matches on Subject: below --
2004-07-02 22:56 [Qemu-devel] " Pierre d'Herbemont
2004-07-04  7:21 ` [Qemu-devel] " Christian Walther
2004-07-04 10:08   ` Pierre d'Herbemont
2004-07-04 10:37     ` Leigh Dyer

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).