Benjamin, I am saying that the llvm-gcc42 package built with the llvm 2.3 and llvm-gcc-4.2 source code releases from llvm.org can in fact do link-time-optimization in llvm-gcc, llvm-g++ and llvm-gfortran. The trick is not to use the cctools in /usr/bin but that in /Developer/usr/bin to build the llvm-gcc42 package. The current Xcode 3.1 Developer Preview 2 is available to anyone with a free ADC account from connect.apple.com. The llvm developers would be happy to see the LTO feature exercised as much as possible. Jack
On Mon, Jun 16, 2008 at 09:12:39PM -0400, Benjamin Reed wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jack Howarth wrote: > | 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 > > Are you saying the fink gcc42 will required xcode 3.1 beta? Is there > any alternative to making it do so? I've seen a number of things that > xcode 3.1 breaks (not necessarily in fink) and I'm not sure general Fink > stuff is all that well-tested with the new beta yet. > > > - -- > Benjamin Reed a.k.a. Ranger Rick > Fink, KDE, and Mac OS X development > > Blog: http://www.raccoonfink.com/ > Music: http://music.raccoonfink.com/ > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIVw+HUu+jZtP2Zf4RAv/tAJ44DfcgATnPjQ9y7xQRKegQwqU3+QCeKQ0Z > Nn4tEjKytN1X8Zz4WLMLctI= > =Ln2h > -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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