From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQHqe-0005Ds-Nm for qemu-devel@nongnu.org; Fri, 14 Aug 2015 12:28:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQHqb-0007ah-Id for qemu-devel@nongnu.org; Fri, 14 Aug 2015 12:28:52 -0400 Received: from mail-vk0-f44.google.com ([209.85.213.44]:33152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQHqb-0007aR-En for qemu-devel@nongnu.org; Fri, 14 Aug 2015 12:28:49 -0400 Received: by vkbg64 with SMTP id g64so18744995vkb.0 for ; Fri, 14 Aug 2015 09:28:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <23DFB849-03EB-4C8D-8F55-5CAD6EEB692D@gmail.com> References: <6D2243E1-9AB5-43A1-B6B1-A99C71A48B69@gmail.com> <744D56B6-243D-43E5-9E42-B6DED13C1E88@gmail.com> <23DFB849-03EB-4C8D-8F55-5CAD6EEB692D@gmail.com> From: Peter Maydell Date: Fri, 14 Aug 2015 17:28:29 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v2] qemu-doc.texi: Add information on compiling source code on Mac OS X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: qemu-devel qemu-devel On 14 August 2015 at 17:09, Programmingkid wrote: > > On Aug 14, 2015, at 11:16 AM, Peter Maydell wrote: > >> On 7 August 2015 at 21:57, Programmingkid wrote: >>> Add information on compiling source code on Mac OS X >>> to the documentation. >>> >>> Signed-off-by: John Arbuckle >> >>> --- >>> qemu-doc.texi | 44 +++++++++++++++++++++++++++++++++++++++++--- >>> 1 files changed, 41 insertions(+), 3 deletions(-) >>> >>> diff --git a/qemu-doc.texi b/qemu-doc.texi >>> index 0125bc7..c059c49 100644 >>> --- a/qemu-doc.texi >>> +++ b/qemu-doc.texi >>> @@ -3021,9 +3021,47 @@ and all other qemu-system-@var{target}.exe 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: >>> +@itemize >>> +@item Mac OS 10.5 or higher >>> +@item GCC 4.3 or higher >> >> I think this should be "The clang compiler shipped with Xcode 4.2 or higher, >> or GCC 4.3 or higher". > Sounds good. > >> >> We should have an @item about any library dependencies we need that >> aren't provided by Apple. I think that's just glib, but it's been >> so long since I installed dependencies for QEMU I forget if we >> need anything else third-party. (We don't need to go into detail >> about where to get the third-party libs, but mentioning the >> dependency is helpful I think.) > That is a really good idea. This is probably what a mac user will have to install > when installing QEMU for the first time: > - libffi > - gettext > - glib > - pgk-config "pkg-config" > - autoconfig "autoconf" > - automake > - libtool > - pixman > This is all I had to install when installing QEMU onto Mac OS 10.9 for the first time. > > I could put this information in its own section like this: > > Additional requirements (install in order) > 1. libffi > 2. gettext > 3. glib > 4. pgk-config > 5. autoconfig > 6. automake > 7. libtool > 8. pixman > > Each item will be a hyperlink to each item's web site. Does this sound right? Yes, that sounds good. . We could add a note at the end too: "You may find it easiest to get these from a third-party packager such as Homebrew, Macports or Fink." -- PMM