diff options
author | dcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db> | 2013-03-23 09:57:03 +0000 |
---|---|---|
committer | dcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db> | 2013-03-23 09:57:03 +0000 |
commit | cb6ceb5c45e2c89d488f31361a4d25ee7b71eaab (patch) | |
tree | 7ea917ccb35bb4b949f4b25af7632d107f0262ec /BUILDING.txt | |
parent | bcc128960ab482b6ad19b582cebeee1a4dd03cca (diff) |
Document issues encountered when building on OS X 10.7 and later.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@939 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'BUILDING.txt')
-rw-r--r-- | BUILDING.txt | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/BUILDING.txt b/BUILDING.txt index 2c499d4..0b525e9 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -1,5 +1,5 @@ ******************************************************************************* -** Building on Unix Platforms (including Cygwin) +** Building on Un*x Platforms (including Cygwin and OS X) ******************************************************************************* @@ -10,6 +10,9 @@ Build Requirements -- autoconf 2.56 or later -- automake 1.7 or later -- libtool 1.4 or later + * If using Xcode 4.3 or later on OS X, autoconf and automake are no longer + provided. The easiest way to obtain them is from MacPorts + (http://www.macports.org/). -- NASM (if building x86 or x86-64 SIMD extensions) * 0.98, or 2.01 or later is required for a 32-bit build @@ -33,6 +36,18 @@ Build Requirements NOTE: the NASM build will fail if texinfo is not installed. -- GCC v4.1 or later recommended for best performance + * Beginning with Xcode 4, Apple stopped distributing GCC and switched to + the LLVM compiler. Xcode v4.0 through 4.6 provides a GCC front end called + LLVM-GCC. Unfortunately, as of this writing, neither LLVM-GCC nor the + LLVM (clang) compiler produce optimal performance with libjpeg-turbo. + Building libjpeg-turbo with LLVM-GCC v4.2 results in a 10% performance + degradation when compressing using 64-bit code, relative to building + libjpeg-turbo with GCC v4.2. Building libjpeg-turbo with LLVM (clang) + results in a 20% performance degradation when compressing using 64-bit + code, relative to building libjpeg-turbo with GCC v4.2. If you are + running Snow Leopard or earlier, it is suggested that you continue to use + Xcode v3.2.6, which provides GCC v4.2. If you are using Lion or later, it + is suggested that you install Apple GCC v4.2 through MacPorts. -- If building the TurboJPEG Java wrapper, JDK or OpenJDK 1.5 or later is required. Some systems, such as OS X 10.4, Solaris 10 and later, and Red |