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

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


I think I see the problem here. My TestBigEndian is failing with a missing
.so failure. The return code for this is 127. The TestBigEndian.cmake checks
for 0 or not 0. It should check for 0 or 1 and report a failure otherwise.

Bill

-----Original Message-----
From: Lorensen, William E (Research) [mailto:lorensen at crd.ge.com]
Sent: Thursday, December 30, 2004 12:45 PM
To: 'insight-developers at itk.org'
Subject: [Insight-developers] ICC8.0 issue and CMake check for endianess


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