From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Andreas Färber" <afaerber@suse.de>, patches@linaro.org
Subject: [Qemu-devel] [PATCH 0/2] Fix compilation on MacOS X 10.8 ("Mountain Lion")
Date: Sat, 11 Aug 2012 22:34:38 +0100 [thread overview]
Message-ID: <1344720880-26881-1-git-send-email-peter.maydell@linaro.org> (raw)
I had a go at compiling on my Macbook, which runs Apple's most recent
cat. I had to fix a couple of issues, which I think are down to new
stuff in the system headers:
* the os/object.h header will try to use Objective-C syntax unless
explicitly squashed
* some of the headers we use in the cocoa ui frontend use the
'Blocks' Apple extension, so won't build except with clang or
the (now rapidly aging) Apple gcc, so to do a build with a
modern gcc we need to support specifying the Objective-C compiler
separately.
Peter Maydell (2):
configure: Define OS_OBJECT_USE_OBJC=0 for MacOSX builds
Support using a different compiler for Objective-C files
configure | 15 +++++++++++++++
rules.mak | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
--
1.7.11.4
next reply other threads:[~2012-08-11 21:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-11 21:34 Peter Maydell [this message]
2012-08-11 21:34 ` [Qemu-devel] [PATCH 1/2] configure: Define OS_OBJECT_USE_OBJC=0 for MacOSX builds Peter Maydell
2012-08-11 21:34 ` [Qemu-devel] [PATCH 2/2] Support using a different compiler for Objective-C files Peter Maydell
2012-08-15 14:47 ` Andreas Färber
2012-08-15 14:55 ` Peter Maydell
2012-08-15 16:05 ` Andreas Färber
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=1344720880-26881-1-git-send-email-peter.maydell@linaro.org \
--to=peter.maydell@linaro.org \
--cc=afaerber@suse.de \
--cc=patches@linaro.org \
--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).