summaryrefslogtreecommitdiff
path: root/trunk/README-turbo.txt
diff options
context:
space:
mode:
authordcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2010-02-24 07:24:26 +0000
committerdcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2010-02-24 07:24:26 +0000
commit69de3011e09e5d5ee5a319663c6324b1661ad6df (patch)
treed24645ca15cf4ca1b7bb53ac21fae0132c52af9c /trunk/README-turbo.txt
parent0caccbe88d69dad2d3c3fb890ecf23b8cf70e9de (diff)
Visual C++ libraries can't be made to work with MinGW because of the dependency on msvcr90.dll, so build a separate installer for MinGW libraries
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@151 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'trunk/README-turbo.txt')
-rwxr-xr-xtrunk/README-turbo.txt56
1 files changed, 25 insertions, 31 deletions
diff --git a/trunk/README-turbo.txt b/trunk/README-turbo.txt
index ccf7d7e..684f9f4 100755
--- a/trunk/README-turbo.txt
+++ b/trunk/README-turbo.txt
@@ -117,23 +117,34 @@ of libjpeg by setting
({lib} = lib, lib32, lib64, or lib/amd64, as appropriate.)
-This is useful, for instance, if you want to build an application that
-leverages the libjpeg-turbo colorspace extensions (see below.) On Linux and
-Solaris systems, you would still need to manipulate the LD_LIBRARY_PATH or sym
-links appropriately to use libjpeg-turbo at run time. On such systems, you can
-pass -R /opt/libjpeg-turbo/{lib} to the linker to force the use of
-libjpeg-turbo at run time rather than libjpeg (also useful if you want to
-leverage the colorspace extensions), or you can link against the libjpeg-turbo
-static library.
-
-To force a Linux or Solaris application to link against the static version of
-libjpeg-turbo, you can use the following linker options:
+If using Cygwin, then set
+
+ CPATH=/cygdrive/c/libjpeg-turbo-gcc/include
+ and
+ LIBRARY_PATH=/cygdrive/c/libjpeg-turbo-gcc/lib
+
+If using MinGW, then set
+
+ CPATH=/c/libjpeg-turbo-gcc/include
+ and
+ LIBRARY_PATH=/c/libjpeg-turbo-gcc/lib
+
+Building against libjpeg-turbo is useful, for instance, if you want to build an
+application that leverages the libjpeg-turbo colorspace extensions (see below.)
+On Linux and Solaris systems, you would still need to manipulate the
+LD_LIBRARY_PATH or sym links appropriately to use libjpeg-turbo at run time.
+On such systems, you can pass -R /opt/libjpeg-turbo/{lib} to the linker to
+force the use of libjpeg-turbo at run time rather than libjpeg (also useful if
+you want to leverage the colorspace extensions), or you can link against the
+libjpeg-turbo static library.
+
+To force a Linux, Solaris, or MinGW application to link against the static
+version of libjpeg-turbo, you can use the following linker options:
-Wl,-Bstatic -ljpeg -Wl,-Bdynamic
-or you can simply add /opt/libjpeg-turbo/{lib}/libjpeg.a to the linker command
-line (the latter is the only way to link against the static version of
-libjpeg-turbo on OS X.)
+On OS X, simply add /opt/libjpeg-turbo/{lib}/libjpeg.a to the linker command
+line (this also works on Linux and Solaris.)
To build Visual C++ applications using libjpeg-turbo, add
c:\libjpeg-turbo\include to your system or user INCLUDE environment variable
@@ -141,23 +152,6 @@ and c:\libjpeg-turbo\lib to your system or user LIB environment variable, and
then link against either jpeg.lib (to use jpeg62.dll) or jpeg-static.lib (to
use the static version of libjpeg-turbo.)
-If building an application using Cygwin, then set
-
- CPATH=/cygdrive/c/libjpeg-turbo/include
- and
- LIBRARY_PATH=/cygdrive/c/libjpeg-turbo/lib
-
-If using MinGW, then set
-
- CPATH=/c/libjpeg-turbo/include
- and
- LIBRARY_PATH=/c/libjpeg-turbo/lib
-
-and link using -ljpeg in both cases. NOTE: The static libraries shipped with
-the Windows version of libjpeg-turbo cannot be used with MinGW and Cygwin. If
-you wish to link statically with libjpeg-turbo using MinGW or Cygwin, then you
-will need to build libjpeg-turbo from source using GCC.
-
=====================
Colorspace Extensions
=====================