Sun Studio recipes

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@120 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2010-02-17 02:25:06 +00:00
parent b9b1ca30ca
commit ca5e7d184e

View File

@@ -112,7 +112,7 @@ Build Recipes
32-bit Library Build on 64-bit Linux
------------------------------------
Same instructions as above, but add
Add
--host i686-pc-linux-gnu CFLAGS='-O3 -m32' CXXFLAGS='-O3 -m32'
@@ -122,7 +122,7 @@ to the configure command line.
64-bit Library Build on 64-bit OS/X
-----------------------------------
Same instructions as above, but add
Add
--host x86_64-apple-darwin10.0.0 NASM=/opt/local/bin/nasm
@@ -132,7 +132,7 @@ to the configure command line. NASM 2.07 from MacPorts must be installed.
32-bit Library Build on 64-bit OS/X
-----------------------------------
Same instructions as above, but add
Add
CFLAGS='-O3 -m32' CXXFLAGS='-O3 -m32' LDFLAGS=-m32
@@ -142,7 +142,7 @@ to the configure command line.
32-bit Backward-Compatible Library Build on 64-bit OS/X
-------------------------------------------------------
Same instructions as above, but add
Add
CC=gcc-4.0 CXX=g++-4.0 CFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk \
-mmacosx-version-min=10.4 -O3 -m32' CXXFLAGS='-isysroot \
@@ -156,7 +156,7 @@ to the configure command line. The OS X 10.4 SDK must be installed.
64-bit Library Build on 64-bit Solaris
--------------------------------------
Same instructions as above, but add
Add
--host x86_64-pc-solaris CFLAGS='-O3 -m64' CXXFLAGS='-O3 -m64' LDFLAGS=-m64
@@ -166,7 +166,7 @@ to the configure command line.
MinGW Build on Cygwin
---------------------
Same instructions as above, but add
Add
--host mingw32
@@ -174,6 +174,23 @@ to the configure command line. This will produce libraries which do not
depend on cygwin1.dll or other Cygwin DLL's.
Sun Studio
----------
Add
CC=cc CXX=CC
to the configure command line. libjpeg-turbo will automatically be built with
the maximum optimization level (-xO5) unless you override CFLAGS and CXXFLAGS.
To build a 64-bit version of libjpeg-turbo using Sun Studio, add
--host x86_64-pc-solaris CC=cc CXX=CC CFLAGS='-xO5 -m64' \
CXXFLAGS='-xO5 -m64' LDFLAGS=-m64
to the configure command line.
*******************************************************************************
** Windows (Visual C++)
*******************************************************************************