2006.04.01 04:44 "[Tiff] WORDS_BIGENDIAN makes libtiff platform dependent (3.8.2) and you have to undefine it on MacTel", by ping shu

2006.04.02 22:06 "Re: [Tiff] WORDS_BIGENDIAN makes libtiff platform dependent (3.8.2) and you have to undefine it on MacTel", by Bob Friesenhahn

I'm not sure that's what Edward meant to say, and I hate to make this troll remark, or say 'I told you so', but it seems the frequency of people complaining about build issues on the list does force us to draw some conclusions.

Yes, like that libtiff is actually easy enough to compile now that people are building it by themselves rather than leaving it to an expert.

Libtiff is now in a condition that I feel comfortable with building it with each new release rather than allocating a day every four or five years when I feel up to the challenge.

> Libtiff really does need to know the endian order

Still, one option is to detect it in the code by writing something to a word and reading back its first byte...

This can be done but then either code must be compiled in to handle both cases, or less less efficient code needs to be used which doesn't care about endianness.

But that may not be sufficient now that makefile-libtool-autoconfig stuff is in place (or is it?), and solving all makefile-libtiff-autoconfig trouble, it may take some time before someone bothers with minor detail like actual code...

It seems that you are in a cynical mood today. :-)

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