From: Pierre d'Herbemont <stegefin@free.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] 2 Questions [Cocoa Driver]
Date: Mon, 2 May 2005 21:26:10 +0200 [thread overview]
Message-ID: <b676ddbfea93c3325f14144503abb6c5@free.fr> (raw)
In-Reply-To: <42760D09.5020007@kberg.ch>
[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]
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]
[-- Attachment #2: gui_nib.diff.txt --]
[-- Type: text/plain, Size: 1312 bytes --]
? .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),)
next prev parent reply other threads:[~2005-05-02 19:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-29 15:04 [Qemu-devel] 2 Questions Mike Kronenberg
2005-05-02 11:20 ` Mike Kronenberg
2005-05-02 19:26 ` Pierre d'Herbemont [this message]
2005-05-03 5:34 ` [Qemu-devel] 2 Questions [Cocoa Driver] Mike Kronenberg
2005-05-02 21:42 ` [Qemu-devel] 2 Questions René Korthaus
2005-05-03 5:56 ` Mike Kronenberg
2005-05-03 11:08 ` Mike Kronenberg
2005-05-04 21:21 ` René Korthaus
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=b676ddbfea93c3325f14144503abb6c5@free.fr \
--to=stegefin@free.fr \
--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).