[CMake] FW: cmake newbie questions

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jul 30 14:07:15 EDT 2008


On Wednesday 30 July 2008, Mike Jackson wrote:
> What is actually going on is that CMake is actually compiling and
> _running_ a small application to determine what endian type the
> machine is. I am guessing that the z/OS executable will not actually
> _run_ on your host system so it will give an error. 

This was the case for cmake <= 2.4, but is not the case anymore for 2.6 and 
above.
A small executable is built and the byte order of a special string inside it 
is checked. 
Please have a look at Modules/TestEndianess.c.in to see how it works.

If you don't find the problem, please send the created binary directly to me.

Alex


More information about the CMake mailing list