2002.09.30 22:31 "Compile LibTIFF for Mac -- configuration", by Chris 'Xenon' Hanson
Hi all.
I'm trying to get a running libtiff compile for the Mac. Unfortunately, I need to use my own whacked development environment that has no stdin/stdout support, and no shell, so it's difficult for me to follow the usual config/build process.
What I need to figure out is, how does the library figure out and resolve platform dependent issues at compile-time? As in, how does it adapt to endian issues, what defines does it use to detect this, and how does the g3states thing work? I am using the source set that I used to successfully build my Win32-X86 library, which makes a usable library on the Mac but makes for mangled decoded images. I suspect the environment I'm using is fooling libtiff into thinking its building a Win32-X86 library and it's messing up the endian conversions and such.
If I can get a grasp on how it is supposed to work this out, I can probably set it straight.
Thanks in advance for any info.
(I was able to get the ZLIB, PNG and JPEG libraries to compile ok, just not TIFF.)
Chris - Xenon
--
Chris Hanson | Xenon@3DNature.com | I've got friends in low latitudes!
New World Construction Set 6!: http://www.3DNature.com/
"There is no Truth. There is only Perception. To Perceive is to Exist." - Xen