[CMake] Re: [vtkusers] OSX universal binaires for VTK, cmake , ITK

Sean McBride sean at rogue-research.com
Tue Jan 30 16:22:56 EST 2007


On 2007-01-30 16:03, Mike Jackson said:

>So if we #ifdef special case for Apple then what about the guy on a  
>linux intel box trying to cross compile for Linux PPC? Would he have  
>the same problems? Isn't this becoming a cross compile issue?

Yes and yes.  And we have been over the whole cross compiling thing
before... :)  As I understand it, it's not CMake's forte.

>And just what is #defining "__BIG_ENDIAN__"? GCC or something else?  
>Can we depend on that? What about the IBM C++ compiler? Having never  
>used it..

Well, Apple's headers use __BIG_ENDIAN__ all over.  So any compiler that
supports Apple's headers must have that define set up.  icc does.  Dunno
about IBM's.  So should be safe to rely on.  If Thursday's dashboards
are red, we'll know why. :)

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list