[Insight-developers] ICC8.0 issue and CMake check for endianess

Julien Jomier jjomier at cs.unc.edu
Sun Jan 2 03:26:22 EST 2005


Hi Bill,

In my itkConfigure.h I have these lines:

#ifdef CMAKE_WORDS_BIGENDIAN
   #define ITK_WORDS_BIGENDIAN
#endif

and in the CMakeCache.txt

CMAKE_WORDS_BIGENDIAN:INTERNAL=0

So I think ITK_WORDS_BIGENDIAN is not defined in this case and the 
configuration is defined as little endian.
I don't have any issue with icc8.0 (reported on the Nightly dashboard).

Let me know if I can help,

Happy New Year!

Julien

Lorensen, William E (Research) wrote:
> Folks,
> In tracking down some Linux intel icc8.0 problems, I found that cmake is
> computing the wrong endianess. It incorrectly defines CMAKE_WORDS_BIGENDIAN
> in the itkConfigure.h file. It reports Big endian where it should be
> reporting Little endian. If I run the TestBigEndian.c code by hand, it
> correctly says the system is little endian.
> 
> I have reached by limit of cmake knowledge to progress any further. Help
> would bve appreciated.
> 
> Thanks,
> Bill
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list