From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DSgip-0006lb-KI for qemu-devel@nongnu.org; Mon, 02 May 2005 15:36:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DSgia-0006eR-Fm for qemu-devel@nongnu.org; Mon, 02 May 2005 15:36:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSgfR-0005GC-Kp for qemu-devel@nongnu.org; Mon, 02 May 2005 15:33:21 -0400 Received: from [213.228.0.62] (helo=postfix4-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DSgd3-0002WQ-0E for qemu-devel@nongnu.org; Mon, 02 May 2005 15:30:53 -0400 Received: from [192.168.1.102] (bdv75-4-82-227-67-30.fbx.proxad.net [82.227.67.30]) by postfix4-1.free.fr (Postfix) with ESMTP id 95D96317959 for ; Mon, 2 May 2005 21:26:11 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: <42760D09.5020007@kberg.ch> References: <42724CE7.50109@kberg.ch> <42760D09.5020007@kberg.ch> Content-Type: multipart/mixed; boundary=Apple-Mail-3--684183214 Message-Id: From: Pierre d'Herbemont Subject: Re: [Qemu-devel] 2 Questions [Cocoa Driver] Date: Mon, 2 May 2005 21:26:10 +0200 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Apple-Mail-3--684183214 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 2 mai 05, at 13:20, Mike Kronenberg wrote: > It seams that my first Mail got eaten: > > Status on my Work for cocoasupport for qemu > - made a Toolbar with options to save VM, change Image for > CD-Rom/Floppy > - made a Controlling app, to start and configure WMs (right now I'm > integrating that ap im qemu) [...] > have fun and remember, this is a Feature Demo - expect instability :) Very nice ;) Hope you'll produce a patch, that'll get merged in cvs ;) However when I try to launch your test app here is what I get: iBook:~/Desktop/cocoaqemu.app/Contents steg$ ./MacOS/cocoaqemu ZeroLink: could not load .o file: /Users/mike/cocoaqemu/build/cocoaqemu.build/cocoaqemu.build/Objects- normal/ppc/main.ob ZeroLink: could not load .o file: /Users/mike/cocoaqemu/build/cocoaqemu.build/cocoaqemu.build/Objects- normal/ppc/qemuController.ob ZeroLink: unknown symbol '_main' Abort trap I bet you use nib files and so on... In this case you'll have to bypass the use of Xcode, by creating the appropriate Makefiles which will build the qemu.app, I have an almost clean patch [1] that you may want to use as a base. Tell me is you want more infos. Pierre. [1] --Apple-Mail-3--684183214 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0444; name="gui_nib.diff.txt" Content-Disposition: attachment; filename=gui_nib.diff.txt ? .DS_Store ? .gdb_history ? cocoa ? cocoa.m ? linux-test Index: Makefile.target =================================================================== RCS file: /cvsroot/qemu/qemu/Makefile.target,v retrieving revision 1.69 diff -u -r1.69 Makefile.target --- Makefile.target 28 Apr 2005 21:15:08 -0000 1.69 +++ Makefile.target 2 May 2005 19:19:54 -0000 @@ -209,6 +209,10 @@ LIBS+=-lmx endif +ifdef CONFIG_COCOA +PROGS+=$(QEMU_SYSTEM).app +endif + ######################################################### DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE @@ -387,6 +391,16 @@ VL_LDFLAGS+=-p endif +# Mac OS X Application + +$(QEMU_SYSTEM).app: $(QEMU_SYSTEM) cocoa/Info.plist cocoa/qemu.nib + mkdir -p $@/Contents/MacOS + mkdir -p $@/Contents/Resources/English.lproj + echo -n "APPL????" > $@/Contents/PkgInfo + cp ../cocoa/Info.plist $@/Contents + cp -R ../cocoa/qemu.nib $@/Contents/Resources/English.lproj + cp $(QEMU_SYSTEM) $@/Contents/MacOS/Qemu + ifeq ($(ARCH),ia64) VL_LDFLAGS+=-Wl,-G0 -Wl,-T,$(SRC_PATH)/ia64.ld endif @@ -459,7 +473,7 @@ $(CC) $(DEFINES) -c -o $@ $< clean: - rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h nwfpe/*.o slirp/*.o fpu/*.o + rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h nwfpe/*.o slirp/*.o fpu/*.o *.app install: all ifneq ($(PROGS),) --Apple-Mail-3--684183214--