AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2009.02.03 07:58 "[Tiff] Compiling OS X 64 bit LibTIFF", by Peter C
2009.02.03 18:15 "Re: [Tiff] Compiling OS X 64 bit LibTIFF", by Bob Friesenhahn
2009.02.04 01:09 "Re: [Tiff] Compiling OS X 64 bit LibTIFF", by Peter C
2009.02.04 01:39 "Re: [Tiff] Compiling OS X 64 bit LibTIFF", by Bob Friesenhahn
2009.02.03 18:26 "Re: [Tiff] Compiling OS X 64 bit LibTIFF", by David Hoerl
2009.02.04 10:36 "Re: [Tiff] Compiling OS X 64 bit LibTIFF", by Ryan Schmidt

2009.02.03 18:15 "Re: [Tiff] Compiling OS X 64 bit LibTIFF", by Bob Friesenhahn

I am trying to compile LibTiff v3.8.2 into 64 bit binaries under OS 10.5.6. However the end result is 32 bit binaries, I suppose it is default to 32 bit. In the configuration files there are settings for some other 64 bit systems. What sort of changes required in order to compile into 64 bit binary?

I built from outside the source tree and used:

/home/bfriesen/src/graphics/libtiff/configure 'CC=gcc-4.3.2 -m64' 'CXX=c++-4.3.2 -m64' '--enable-shared' '--prefix=/usr/local64'

This is with a GCC 4.3.2 I installed myself from source code. Removing the -4.3.2 from CC and CXX as well as changing the prefix to your own preference should do the trick.

However, I am not sure that I would recommend v3.8.2 due to many bugs.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/