| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.09.08 20:39 "Re: problem using 64-bit libtiff.so on Solaris 8 using GCC", by Dan SmithI 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 |
|||||||