On 2006-09-06 17:21, Michael Casadevall said: >> Basically, it's a kind of cross compilation. On a PowerPC Mac you can >> compile your executable for both PPC and Intel Macs, and vice versa. >> CMake does support Universal Binaries actually, you may want to see >> this >> bug for background: >> <http://www.vtk.org/Bug/bug.php?op=show&bugid=2492> > >This works fine with CMake. Add C/CXX flags -march ppc -march i386 (I >think, been awhile, I can look this up), and gcc will spit out a >university binary. Rosetta works for command line tools, so it will >work perfectly. I've done this with a few other packages that don't >use autotoos.
I wasn't sure if you were at all familiar with Macs, but I see that you are. In fact, it is nicer than that: you can use CMAKE_OSX_ARCHITECTURES and CMAKE_OSX_SYSROOT instead of mucking with CFLAGS. -- ____________________________________________________________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake