AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.07.24 14:39 "[Tiff] "Elf Error" building tifflib on Solaris 2.5", by John Prenis
2006.09.05 08:09 "[Tiff] Cross compilation mac os x/linux", by Ivan LAURETTE
2006.09.05 15:07 "Re: [Tiff] Cross compilation mac os x/linux", by Bob Friesenhahn
2006.09.26 13:25 "RE: [Tiff] Cross compilation mac os x/linux", by Ivan LAURETTE

2006.09.05 15:07 "Re: [Tiff] Cross compilation mac os x/linux", by Bob Friesenhahn

I'm trying to cross compile the libtiff 3.8.2 for a PowerPC-860 (linux) on my PowerPC G5 (Mac OS 10.4.7). I'm using gcc as crosscompiler. I configured the compilation with:

The "libport" approach used in the libtiff build was a bad idea. It causes linker problems on some platforms when libport does not provide any external symbols.

A workaround is to edit port/dummy.c and change the word 'static' to 'extern'.

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