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]
? .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),)
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel