qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v3] qemu-doc.texi: Add information on compiling sour


From: Programmingkid
Subject: [Qemu-devel] [PATCH v3] qemu-doc.texi: Add information on compiling source code on Mac OS X
Date: Fri, 14 Aug 2015 13:54:25 -0400

This patch will add information to the documentation web
page on how to build Qemu on Mac OS X.

Signed-off-by: John Arbuckle <address@hidden>

---
Add info on additional libraries that need to be installed. 

 qemu-doc.texi |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 57 insertions(+), 3 deletions(-)

diff --git a/qemu-doc.texi b/qemu-doc.texi
index 0125bc7..dc6bca9 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -3021,9 +3021,63 @@ and all other address@hidden compiled for Win32.
 @node Mac OS X
 @section Mac OS X

 

-The Mac OS X patches are not fully merged in QEMU, so you should look
-at the QEMU mailing list archive to have all the necessary
-information.
+System Requirements:
address@hidden
address@hidden Mac OS 10.5 or higher
address@hidden The clang compiler shipped with Xcode 4.2 or higher,
+or GCC 4.3 or higher
address@hidden itemize
+
+Additional Requirements (install in order):
address@hidden
address@hidden libffi: @uref{https://sourceware.org/libffi/}
address@hidden gettext: @uref{http://www.gnu.org/software/gettext/}
address@hidden glib: @uref{http://ftp.gnome.org/pub/GNOME/sources/glib/}
address@hidden pkg-config: @uref{http://www.freedesktop.org/wiki/Software/pkg-config/}
address@hidden autoconf: @uref{http://www.gnu.org/software/autoconf/autoconf.html}
address@hidden automake: @uref{http://www.gnu.org/software/automake/}
address@hidden libtool: @uref{http://www.gnu.org/software/libtool/}
address@hidden pixman: @uref{http://www.pixman.org/}
address@hidden enumerate
+
+* You may find it easiest to get these from a third-party packager
+such as Homebrew, Macports, or Fink.
+
+After downloading the QEMU source code, double-click it to expand it.
+
+Then configure and make QEMU:
address@hidden
+./configure
+make
address@hidden example
+
+If you have a recent version of Mac OS X (OSX 10.7 or better
+with Xcode 4.2 or better) we recommend building QEMU with the
+default compiler provided by Apple, for your version of Mac OS X
+(which will be 'clang'). The configure script will
+automatically pick this.
+
+Note: If after the configure step you see a message like this:
address@hidden
+ERROR: Your compiler does not support the __thread specifier for
+       Thread-Local Storage (TLS). Please upgrade to a version that does.
address@hidden example
+You may have to build your own version of gcc from source. Expect that to take
+several hours. More information can be found here:
address@hidden://gcc.gnu.org/install/} @*
+
+These are some of the third party binaries of gcc available for download:
address@hidden
address@hidden Homebrew: @uref{http://brew.sh/}
address@hidden @uref{https://www.litebeam.net/gcc/gcc_472.pkg}
address@hidden @uref{http://www.macports.org/ports.php?by=name&substr=gcc}
address@hidden itemize
+
+You can have several versions of GCC on your system. To specify a certain version,
+use the --cc and --cxx options.
address@hidden
+./configure --cxx=<path of your c++ compiler> --cc=<path of your c compiler> <other options>
address@hidden example

 

 @node Make targets
 @section Make targets
-- 
1.7.5.4


reply via email to

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