wind&oil
   


About
wind&oil, Weblog

Syndicate:
Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.

Projects:
www.behrmann.name
www.oyranos.org
ColourWiki
CinePaint


Contact
Impressum


       

home :: oyranos :: icc_examin_2007.06.19_1.zurueck

Tue, 19 Jun 2007

Universal osX
Huhh, compiling all of my toolchain for running ICC Examin on osX PPC/Intel machines. It is not that much fun.
Some libraries are not prepared to handle this case. For the iconv/intl libs I had to remove all obscure -no-undefined statements in Makefile.in. It seems to be in place for BeOS. What do I care, as I dont intent to release those libraries as sources.
Instead -flat-namespace -undefined suppress options helped to get the stuff comiling.
I had to modify ICC Examin to support --disable-dependency-tracking configure option. gcc -M options are not allowed with multiple arch targets in fat files.
As usual, I dont rely what others compile for lcms, tiff and the like. Too often is my HDR stuff brocken. Now these are following as well, but starts more simple. .. OpenEXR compiled fine.

Apple documentation: http://developer.apple.com/technotes/tn2005/tn2137.html

/oyranos | 1 comment | permanent link


TrackBack can ping me at: http://www.behrmann.name/wind/oyranos/icc_examin_2007.06.19_1.trackback

-flat-namespace -undefined suppress

Kai-Uwe Behrmann wrote on 2007/06/21 12:48:50:
The above options helped for resolving missed dependencies at linktime. The linker tries to find all libraries in the directory specified with -isysroot. If it is not there the process stops at this point. For instance when libtiff has linked in libjpeg and -ljpeg is not specified during linking the linkage will not succeed without the above options. Well , it is some sort of a hack. But the case would be better handled by the pkg-config or similier config tools anyway.

Your Comment

 
Name:
URL/Email: [http://... or mailto:you@wherever] (optional)
Title: (optional)
Comments: