qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Sparc target build fix on OS X (was Re: 0.6.1 c


From: René Korthaus
Subject: Re: [Qemu-devel] [PATCH] Sparc target build fix on OS X (was Re: 0.6.1 compile error on Mac OS X
Date: Mon, 15 Nov 2004 21:54:26 +0100

Thanks!!! Now i got a compiled version without qemu-system-sparc working.

For all of you using QemuX, i should have included the new qemu-options soon. Just check out the website in the evening.

Good night,
cordney*
-------------------------------------------------------------
The signature is currently on vacations.
Am 15.11.2004 um 20:17 schrieb David E.Still:

Yep, this has been discussed before. There are two ways to get Qemu to compile on OS X:

1. Apply the attached patch, which adds "LIBS+=-lmx" to OS X and other Darwin builds
or
2. Don't include sparc emulation in your build by adding --target-list="i386-softmmu ppc-softmmu" to your ./configure line. This will remove sparc-softmmu from the build, which is the option that requires the mx library from OS X.

Either option will work.

- Dave
<qemu-osx-sparc-build.patch>
--
David E. Still
Writer/Producer
TripleCat Productions
http://www.triplecatproductions.com

On Nov 15, 2004, at 3:59 AM, Eric Sunshine wrote:

René Korthaus wrote:
gcc -o qemu-system-sparc vl.o osdep.o block.o readline.o monitor.o slirp/bootp.o slirp/debug.o slirp/tftp.o libqemu.a -lm -lz -L/opt/local/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL
ld: Undefined symbols:
_sqrtf

sqrtf() is in the 'mx' library on MacOS/X, so you will need to add `-lmx' to the link statement (in addition to `-lm').

-- ES

_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]