summaryrefslogtreecommitdiff
path: root/trunk/BUILDING.txt
diff options
context:
space:
mode:
authordcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2010-02-17 02:25:06 +0000
committerdcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2010-02-17 02:25:06 +0000
commitc184b9711847c8aa30231cbdeea52d8b7657d1bf (patch)
tree1ddc6d07be049b2cf62246f0d3e4d5a1ee95e7ba /trunk/BUILDING.txt
parent174d4696f1586e54ad28fef623e05c0072a72df4 (diff)
Sun Studio recipes
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@120 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'trunk/BUILDING.txt')
-rw-r--r--trunk/BUILDING.txt29
1 files changed, 23 insertions, 6 deletions
diff --git a/trunk/BUILDING.txt b/trunk/BUILDING.txt
index 25ce457..e96bcef 100644
--- a/trunk/BUILDING.txt
+++ b/trunk/BUILDING.txt
@@ -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++)
*******************************************************************************