| 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 |
Thread2006.04.03 14:38 "Re: WORDS_BIGENDIAN makes libtiff platform dependent", by Bob FriesenhahnOn Mon, 3 Apr 2006, Edward Lam wrote: > > Now here's the kicker: > > % grep HOST_BIGENDIAN *.[ch] > tif_config.h:#define HOST_BIGENDIAN 0 > % grep WORDS_BIGENDIAN *.[ch] > tif_config.h:/* #undef WORDS_BIGENDIAN */ > > Although they're mentioned, they don't seem to be used at all! Taken with > your statement that libtiff requires knowing the host endian order, how does > libtiff 3.7.0 work at all? (or maybe if doesn't since I'm only ever on Intel > CPUs :) I hope that you are executing these grep commands in the libtiff subdirectory where the library is build. This is the only place they are used. % grep WORDS_BIGENDIAN *.c tif_open.c:#ifndef WORDS_BIGENDIAN tif_open.c:#ifdef WORDS_BIGENDIAN tif_open.c:#ifndef WORDS_BIGENDIAN tif_open.c:#ifdef WORDS_BIGENDIAN tif_open.c:#ifdef WORDS_BIGENDIAN tif_predict.c:#if WORDS_BIGENDIAN tif_predict.c:#if WORDS_BIGENDIAN % grep HOST_BIGENDIAN *.c tif_open.c:#if HOST_BIGENDIAN % Bob ====================================== Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |
|||||||