[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [FYI] pixman on OS X ppc
From: |
Andreas Färber |
Subject: |
[Qemu-ppc] [FYI] pixman on OS X ppc |
Date: |
Sat, 26 Jan 2013 13:26:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 |
To whom it may concern:
In order to get pixman and thus QEMU building on OSX v10.5.8 ppc, I
needed to take the following steps:
Download stable pixman tarball and patch pixman as follows:
--- pixman-0.28.0/pixman/pixman-ppc.c.orig 2013-01-26 12:17:03.000000000
+0100
+++ pixman-0.28.0/pixman/pixman-ppc.c 2013-01-26 12:17:15.000000000 +0100
@@ -37,8 +37,8 @@
static pixman_bool_t
pixman_have_vmx (void)
{
+ int error, have_vmx;
size_t length = sizeof(have_vmx);
- int error, have_mmx;
sysctlbyname ("hw.optional.altivec", &have_vmx, &length, NULL, 0);
$ configure --prefix=... --disable-shared --enable-static --disable-gtk
$ make # will result in a region-test linker error
$ make install # ditto
$ make install-pkgconfigDATA
QEMU's configure then recognizes the system pixman and builds okay.
As previously reported, the current git version of pixman does not
configure here due to some autoconf hiccups. The stable versions contain
a pre-generated, working configure script, but the latest stable version
did not build without the above workarounds.
Regards,
Andreas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-ppc] [FYI] pixman on OS X ppc,
Andreas Färber <=