[CMake] FW: cmake newbie questions

Alexander Neundorf a.neundorf-work at gmx.net
Mon Aug 4 17:49:55 EDT 2008


On Friday 01 August 2008, Phil Smith wrote:
> Sure, here are two files:
> ctsc.fascii   -- CheckTypeSizeC.c compiled with the Dignus -fascii option
> ctsc.nofascii -- CheckTypeSizeC.c compiled without the Dignus -fascii
> option

The file indeed looks different than all object files I have ever seen.
I tried to "translate" it using the encoding given here: 
http://en.wikipedia.org/wiki/EBCDIC but that doesn't seem to work. I 
get "info_sizeof" instead of "INFO:sizeof" (note the casing the colon which 
became an underscore). Why does that happen ?
And according to that table '0' is 0xF0, and the other digits follow. So why 
doesn't 
'0' +  (SIZE    % 10)
work to get the correct digit ?
And why are the square brackets missing completely ?

Alex


More information about the CMake mailing list