Cygwin is only supported with the autotools build system

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@279 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2010-10-18 07:23:58 +00:00
parent 5559c900c0
commit 81543310fd

View File

@@ -1,5 +1,5 @@
******************************************************************************* *******************************************************************************
** Building on Unix Platforms ** Building on Unix Platforms (including Cygwin)
******************************************************************************* *******************************************************************************
@@ -50,8 +50,8 @@ Building libjpeg-turbo
====================== ======================
The following procedure will build libjpeg-turbo on Linux, FreeBSD, 32-bit The following procedure will build libjpeg-turbo on Linux, FreeBSD, 32-bit
OS X, and Solaris/x86 systems (on Solaris, this generates a 32-bit library. OS X, Cygwin, and Solaris/x86 systems (on Solaris, this generates a 32-bit
See below for 64-bit build instructions.) library. See below for 64-bit build instructions.)
cd {source_directory} cd {source_directory}
autoreconf -fiv autoreconf -fiv
@@ -69,10 +69,12 @@ This will generate the following files under .libs/
libjpeg.so.{version} (Linux, Solaris) libjpeg.so.{version} (Linux, Solaris)
libjpeg.{version}.dylib (OS X) libjpeg.{version}.dylib (OS X)
cygjpeg-{version}.dll (Cygwin)
Shared library for libjpeg-turbo Shared library for libjpeg-turbo
libjpeg.so (Linux, Solaris) libjpeg.so (Linux, Solaris)
libjpeg.dylib (OS X) libjpeg.dylib (OS X)
libjpeg.dll.a (Cygwin)
Development stub for libjpeg-turbo shared library Development stub for libjpeg-turbo shared library
libturbojpeg.a libturbojpeg.a
@@ -82,8 +84,26 @@ This will generate the following files under .libs/
libturbojpeg.dylib (OS X) libturbojpeg.dylib (OS X)
Shared library and development stub for TurboJPEG/OSS Shared library and development stub for TurboJPEG/OSS
cygturbojpeg.dll (Cygwin)
Shared library for TurboJPEG/OSS
libturbojpeg.dll.a (Cygwin)
Development stub for TurboJPEG/OSS shared library
{version} is 62.0.0, 7.0.0, or 8.0.2, depending on whether libjpeg v6b {version} is 62.0.0, 7.0.0, or 8.0.2, depending on whether libjpeg v6b
(default), v7, or v8b emulation is enabled. (default), v7, or v8b emulation is enabled. If using Cygwin, {version} is
62, 7, or 8.
libjpeg v7 or v8b Emulation
---------------------------
Add --with-jpeg7 to the configure command line to build a version of
libjpeg-turbo that is compatible with libjpeg v7. Add --with-jpeg8 to the
configure command to build a version of libjpeg-turbo that is compatible with
libjpeg v8b. See README-turbo.txt for more information on libjpeg v7 and v8b
emulation.
======================== ========================
@@ -221,8 +241,15 @@ To build a 64-bit version of libjpeg-turbo using Sun Studio, add
to the configure command line. to the configure command line.
MinGW Build on Cygwin
---------------------
Use CMake (see recipes below)
******************************************************************************* *******************************************************************************
** Building on Windows (Visual C++, MinGW, or Cygwin) ** Building on Windows (Visual C++ or MinGW)
******************************************************************************* *******************************************************************************
@@ -255,7 +282,7 @@ Build Requirements
... OR ... ... OR ...
-- MinGW or Cygwin -- MinGW
GCC v4.1 or later recommended for best performance GCC v4.1 or later recommended for best performance
@@ -371,32 +398,6 @@ This will generate the following files under {build_directory}
v8b emulation is enabled. v8b emulation is enabled.
Cygwin
------
cd {build_directory}
cmake -G "Unix Makefiles" {source_directory}
make
This will generate the following files under {build_directory}
libjpeg.a
Static link library for libjpeg-turbo
sharedlib/cygjpeg-{version}.dll
DLL for libjpeg-turbo
sharedlib/libjpeg.dll.a
Import library for libjpeg-turbo DLL
libturbojpeg.a
Static link library for TurboJPEG/OSS
cygturbojpeg.dll
DLL for TurboJPEG/OSS
libturbojpeg.dll.a
Import library for TurboJPEG/OSS DLL
{version} is 62, 7, or 8, depending on whether libjpeg v6b (default), v7, or
v8b emulation is enabled.
Debug Build Debug Build
----------- -----------
@@ -411,7 +412,7 @@ libjpeg v7 or v8b Emulation
Add "-DWITH_JPEG7=1" to the cmake command line to build a version of Add "-DWITH_JPEG7=1" to the cmake command line to build a version of
libjpeg-turbo that is compatible with libjpeg v7. Add "-DWITH_JPEG8=1" to the libjpeg-turbo that is compatible with libjpeg v7. Add "-DWITH_JPEG8=1" to the
cmake command to build a version of libjpeg-turbo that is compatible with cmake command to build a version of libjpeg-turbo that is compatible with
libjpeg v8. See README-turbo.txt for more information on libjpeg v7 and v8b libjpeg v8b. See README-turbo.txt for more information on libjpeg v7 and v8b
emulation. emulation.
@@ -534,6 +535,10 @@ make udmg
fork can be made backward compatible as well by using the instructions in fork can be made backward compatible as well by using the instructions in
the "Build Recipes" section. OS X 10.4 compatibility SDK required. the "Build Recipes" section. OS X 10.4 compatibility SDK required.
make cygwinpkg
Build a Cygwin binary package.
Windows Windows
------- -------
@@ -543,7 +548,7 @@ If using NMake:
cd {build_directory} cd {build_directory}
nmake installer nmake installer
If using MinGW or Cygwin: If using MinGW:
cd {build_directory} cd {build_directory}
make installer make installer