AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
September 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.09.05 16:04 "problem using 64-bit libtiff.so on Solaris 8 using GCC", by Dan Smith
2005.09.08 15:52 "Re: problem using 64-bit libtiff.so on Solaris 8 using GCC", by Bob Friesenhahn
2005.09.08 20:39 "Re: problem using 64-bit libtiff.so on Solaris 8 using GCC", by Dan Smith

2005.09.08 20:39 "Re: problem using 64-bit libtiff.so on Solaris 8 using GCC", by Dan Smith

I figured out what the problem is, but where blame lies I have no idea:

The #if defined(...) in tiff.h (v3.5.7) has checks for __LP64__, 
which, according to GCC v3.3 manual, is what they define for 64-bit.

A quick test program shows they do NOT define __LP64__, but rather 
__LP64.  GCC v3.4.2 DOES define __LP64__ as the manual indicates.

After supplying the command line argument -D__LP64__, libtiff works fine.

I will let the creators argue whether libtiff should have had __LP64 
listed or GCC should have defined what they advertised.

Thanks
Dan