2009.02.03 07:58 "[Tiff] Compiling OS X 64 bit LibTIFF", by Peter C

2009.02.04 01:09 "Re: [Tiff] Compiling OS X 64 bit LibTIFF", by Peter C

Hello Bob,

Thanks for the tip. I check the versions at the website, and it states v3.8.2 as latest stable release. The rest is 3.9, 4.0 alpha/beta versions. Which version should I use?

BTW I am still using v3.5.7 some older projects, looks like a lot upgrading to do.

Peter.

On Feb 4, 2009, at 2:15 AM, Bob Friesenhahn wrote:

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.