After a consulting with Chris Lattner at Apple, I found out that we can use the Link-Time-Optimization in llvm 2.3 by building it to use LD set to /Developer/usr/bin/ld (assuming that Xcode 3.1 Developer Preview 2 is installed). I was able to build both the sample code shown in Xcode 3.1...
file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.DeveloperTools.docset/Contents/Resources/Documents/releasenotes/DeveloperTools/RN-llvm-gcc/index.html I was also able to build MDBNCH with llvm-gfortran at -O4 as well and the resulting binary runs fine. I've uploaded fink packaging with this change to... http://sourceforge.net/tracker/index.php?func=detail&aid=1859491&group_id=17203&atid=414256 Jack ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel