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

Lorensen, William E (Research) lorensen at crd.ge.com
Sun Jan 2 08:40:01 EST 2005


That is strange since your Siemens tests are failing in I/O (I'm looking at
voltaire.caddlab.unc).
What version of cmake are you using?

Also, could you trry something else (not related to endian problem).
Set
CMAKE_EXE_LINKER_FLAGS:STRING=-static-libcxa
You should do a clean after this and rebuild.

Bill

-----Original Message-----
From: Julien Jomier [mailto:jjomier at cs.unc.edu]
Sent: Sunday, January 02, 2005 3:26 AM
To: Lorensen, William E (Research)
Cc: 'insight-developers at itk.org'
Subject: Re: [Insight-developers] ICC8.0 issue and CMake check for
endianess


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