@@ -38,19 +38,7 @@ Build Requirements
3838
3939 NOTE: the NASM build will fail if texinfo is not installed.
4040
41- - GCC v4.1 or later recommended for best performance
42- * Beginning with Xcode 4, Apple stopped distributing GCC and switched to
43- the LLVM compiler. Xcode v4.0 through v4.6 provides a GCC front end
44- called LLVM-GCC. Unfortunately, as of this writing, neither LLVM-GCC nor
45- the LLVM (clang) compiler produces optimal performance with libjpeg-turbo.
46- Building libjpeg-turbo with LLVM-GCC v4.2 results in a 10% performance
47- degradation when compressing using 64-bit code, relative to building
48- libjpeg-turbo with GCC v4.2. Building libjpeg-turbo with LLVM (clang)
49- results in a 20% performance degradation when compressing using 64-bit
50- code, relative to building libjpeg-turbo with GCC v4.2. If you are
51- running Snow Leopard or earlier, it is suggested that you continue to use
52- Xcode v3.2.6, which provides GCC v4.2. If you are using Lion or later, it
53- is suggested that you install Apple GCC v4.2 or GCC v5 through MacPorts.
41+ - GCC v4.1 (or later) or clang recommended for best performance
5442
5543- If building the TurboJPEG Java wrapper, JDK or OpenJDK 1.5 or later is
5644 required. Some systems, such as Solaris 10 and later and Red Hat Enterprise
@@ -89,38 +77,38 @@ for 64-bit build instructions.)
8977
9078This will generate the following files under .libs/:
9179
92- ** libjpeg.a**
80+ ** libjpeg.a**
9381Static link library for the libjpeg API
9482
95- ** libjpeg.so.{version}** (Linux, Unix)
96- ** libjpeg.{version}.dylib** (OS X)
97- ** cygjpeg-{version}.dll** (Cygwin)
83+ ** libjpeg.so.{version}** (Linux, Unix)
84+ ** libjpeg.{version}.dylib** (OS X)
85+ ** cygjpeg-{version}.dll** (Cygwin)
9886Shared library for the libjpeg API
9987
10088By default, * {version}* is 62.1.0, 7.1.0, or 8.0.2, depending on whether
10189libjpeg v6b (default), v7, or v8 emulation is enabled. If using Cygwin,
10290* {version}* is 62, 7, or 8.
10391
104- ** libjpeg.so** (Linux, Unix)
105- ** libjpeg.dylib** (OS X)
92+ ** libjpeg.so** (Linux, Unix)
93+ ** libjpeg.dylib** (OS X)
10694Development symlink for the libjpeg API
10795
108- ** libjpeg.dll.a** (Cygwin)
96+ ** libjpeg.dll.a** (Cygwin)
10997Import library for the libjpeg API
11098
111- ** libturbojpeg.a**
99+ ** libturbojpeg.a**
112100Static link library for the TurboJPEG API
113101
114- ** libturbojpeg.so.0.1.0** (Linux, Unix)
115- ** libturbojpeg.0.1.0.dylib** (OS X)
116- ** cygturbojpeg-0.dll** (Cygwin)
102+ ** libturbojpeg.so.0.1.0** (Linux, Unix)
103+ ** libturbojpeg.0.1.0.dylib** (OS X)
104+ ** cygturbojpeg-0.dll** (Cygwin)
117105Shared library for the TurboJPEG API
118106
119- ** libturbojpeg.so** (Linux, Unix)
120- ** libturbojpeg.dylib** (OS X)
107+ ** libturbojpeg.so** (Linux, Unix)
108+ ** libturbojpeg.dylib** (OS X)
121109Development symlink for the TurboJPEG API
122110
123- ** libturbojpeg.dll.a** (Cygwin)
111+ ** libturbojpeg.dll.a** (Cygwin)
124112Import library for the TurboJPEG API
125113
126114
@@ -333,16 +321,16 @@ Set the following shell variables for simplicity:
333321 IOS_SYSROOT=$IOS_PLATFORMDIR/Developer/SDKs/iPhoneOS*.sdk
334322 IOS_GCC=$IOS_PLATFORMDIR/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2
335323
336- * ARMv6 (code will run on all iOS devices, not SIMD-accelerated)*
324+ * ARMv6 (code will run on all iOS devices, not SIMD-accelerated)*
337325 [ NOTE: Requires Xcode 4.4.x or earlier]
338326
339327 IOS_CFLAGS="-march=armv6 -mcpu=arm1176jzf-s -mfpu=vfp"
340328
341- * ARMv7 (code will run on iPhone 3GS-4S/iPad 1st-3rd Generation and newer)*
329+ * ARMv7 (code will run on iPhone 3GS-4S/iPad 1st-3rd Generation and newer)*
342330
343331 IOS_CFLAGS="-march=armv7 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon"
344332
345- * ARMv7s (code will run on iPhone 5/iPad 4th Generation and newer)*
333+ * ARMv7s (code will run on iPhone 5/iPad 4th Generation and newer)*
346334 [ NOTE: Requires Xcode 4.5 or later]
347335
348336 IOS_CFLAGS="-march=armv7s -mcpu=swift -mtune=swift -mfpu=neon"
@@ -365,11 +353,11 @@ Set the following shell variables for simplicity:
365353 IOS_SYSROOT=$IOS_PLATFORMDIR/Developer/SDKs/iPhoneOS*.sdk
366354 IOS_GCC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
367355
368- * ARMv7 (code will run on iPhone 3GS-4S/iPad 1st-3rd Generation and newer)*
356+ * ARMv7 (code will run on iPhone 3GS-4S/iPad 1st-3rd Generation and newer)*
369357
370358 IOS_CFLAGS="-arch armv7"
371359
372- * ARMv7s (code will run on iPhone 5/iPad 4th Generation and newer)*
360+ * ARMv7s (code will run on iPhone 5/iPad 4th Generation and newer)*
373361
374362 IOS_CFLAGS="-arch armv7s"
375363
@@ -527,22 +515,22 @@ on which version of cl.exe is in the `PATH`.
527515
528516The following files will be generated under * {build_directory}* :
529517
530- ** jpeg-static.lib**
518+ ** jpeg-static.lib**
531519Static link library for the libjpeg API
532520
533- ** sharedlib/jpeg{version}.dll**
521+ ** sharedlib/jpeg{version}.dll**
534522DLL for the libjpeg API
535523
536- ** sharedlib/jpeg.lib**
524+ ** sharedlib/jpeg.lib**
537525Import library for the libjpeg API
538-
539- ** turbojpeg-static.lib**
526+
527+ ** turbojpeg-static.lib**
540528Static link library for the TurboJPEG API
541529
542- ** turbojpeg.dll**
530+ ** turbojpeg.dll**
543531DLL for the TurboJPEG API
544532
545- ** turbojpeg.lib**
533+ ** turbojpeg.lib**
546534Import library for the TurboJPEG API
547535
548536* {version}* is 62, 7, or 8, depending on whether libjpeg v6b (default), v7, or
@@ -569,22 +557,22 @@ build of libjpeg-turbo.
569557
570558This will generate the following files under * {build_directory}* :
571559
572- ** {configuration}/jpeg-static.lib**
560+ ** {configuration}/jpeg-static.lib**
573561Static link library for the libjpeg API
574562
575- ** sharedlib/{configuration}/jpeg{version}.dll**
563+ ** sharedlib/{configuration}/jpeg{version}.dll**
576564DLL for the libjpeg API
577565
578- ** sharedlib/{configuration}/jpeg.lib**
566+ ** sharedlib/{configuration}/jpeg.lib**
579567Import library for the libjpeg API
580568
581- ** {configuration}/turbojpeg-static.lib**
569+ ** {configuration}/turbojpeg-static.lib**
582570Static link library for the TurboJPEG API
583571
584- ** {configuration}/turbojpeg.dll**
572+ ** {configuration}/turbojpeg.dll**
585573DLL for the TurboJPEG API
586574
587- ** {configuration}/turbojpeg.lib**
575+ ** {configuration}/turbojpeg.lib**
588576Import library for the TurboJPEG API
589577
590578* {configuration}* is Debug, Release, RelWithDebInfo, or MinSizeRel, depending
@@ -603,22 +591,22 @@ cross-compiling on a Linux/Unix machine, then see "Build Recipes" below.
603591
604592This will generate the following files under * {build_directory}* :
605593
606- ** libjpeg.a**
594+ ** libjpeg.a**
607595Static link library for the libjpeg API
608596
609- ** sharedlib/libjpeg-{version}.dll**
597+ ** sharedlib/libjpeg-{version}.dll**
610598DLL for the libjpeg API
611599
612- ** sharedlib/libjpeg.dll.a**
600+ ** sharedlib/libjpeg.dll.a**
613601Import library for the libjpeg API
614602
615- ** libturbojpeg.a**
603+ ** libturbojpeg.a**
616604Static link library for the TurboJPEG API
617605
618- ** libturbojpeg.dll**
606+ ** libturbojpeg.dll**
619607DLL for the TurboJPEG API
620608
621- ** libturbojpeg.dll.a**
609+ ** libturbojpeg.dll.a**
622610Import library for the TurboJPEG API
623611
624612* {version}* is 62, 7, or 8, depending on whether libjpeg v6b (default), v7, or
0 commit comments