From 7d68f592f6b3b434b4a4c96a3e28c4149ef17060 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 2 Dec 2011 10:26:00 +0100 Subject: [PATCH] doc: improve general documentation for MacOSX Signed-off-by: Luca Barbato --- doc/general.texi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index dc7e8bb77b..ca9731ef55 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -809,13 +809,22 @@ bash directly to work around this: bash ./configure @end example -@subsection Darwin (MacOS X, iPhone) +@anchor{Darwin} +@subsection Darwin (OSX, iPhone) -MacOS X on PowerPC or ARM (iPhone) requires a preprocessor from +The toolchain provided with Xcode is sufficient to build the basic +unacelerated code. + +OSX on PowerPC or ARM (iPhone) requires a preprocessor from @url{http://github.com/yuvi/gas-preprocessor} to build the optimized assembler functions. Just download the Perl script and put it somewhere in your PATH, Libav's configure will pick it up automatically. +OSX on amd64 and x86 requires @command{yasm} to build most of the +optimized assembler functions @url{http://mxcl.github.com/homebrew/, Homebrew}, +@url{http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml, Gentoo Prefix} +or @url{http://www.macports.org, MacPorts} can easily provide it. + @section Windows @subsection Native Windows compilation