Applied C++
Practical Techniques for Building Better Software
TIFF Software
Notes:
On FreeBSD (and probaly other platforms), building the
tiff delegate using default settings will not enable proper
stack unwinding. If you attempt to generate C++ exceptions from
error handlers you write, the C code will abort. With gcc you need
to specify '-fexceptions' to make sure exceptions
work properly.
The tiff library was configured by modifying the configure app
as follows:
- Disable DSO (DSO=no)
- Support stack unwinding:
${OPTIMIZER=-O -fexceptions}
You may also need to enable LZW compression when building libtiff.
See the file
libtiff-lzw-compression-kit-1.3/README-LZW-COMPRESSION
for more information on how to do this as well as LZW licensing issues.
|
|