On 2007-01-30 15:54, Bill Hoffman said:

>#ifndef __APPLE__
>#  cmakedefine VTK_WORDS_BIGENDIAN
>#else
>#ifdef  __BIG_ENDIAN__
>#  define VTK_WORDS_BIGENDIAN
>#endif
>
>That should fix the problem, and allow for universal binaries to be
>created.   The other issue is the SIZEOF stuff.  Same sort of thing can
>be done with that.
>
>Basically, vtkConfigure.h.in needs to have a large ifdef __APPLE__
>section that hard codes, or otherwise sets defines to the right values
>based on built-in defines from the compiler and not the results of
>try-run tests.
>
>If someone can test this and create a patch for vtkConfigure.h.in I will
>put it in VTK.

I attached such a patch to bug 3059 in November 2006.  :)

Though I now have commit access myself, so I'll go ahead and commit it
tomorrow morning.  Your check of __APPLE__ is probably a good idea, I
did not have it.

--
____________________________________________________________
Sean McBride, B. Eng                 [EMAIL PROTECTED]
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to