Nope, that didn't do it. I tried it with and without double quotes around the value: no -fascii was passed in either case. However, I'm tentatively declaring victory (very tentatively -- I've had it working before, but for the wrong reasons, such as NOT doing a linkedit and having it happen to find the "magic string" in the object -- but that's not safe, it could be broken across 80-byte records).
I notice that it's creating what looks like it might be a duplicate set of directories: CMakeFiles\CMakeTmp\CMakeFiles\cmTryCompileExec.dir Does it really mean to do that, or is it intending to have just CMakeFiles\cmTryCompileExec.dir ? It works, so perhaps machs nicht, but it looked odd to me. ...phsiii -----Original Message----- From: Alexander Neundorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2008 3:49 PM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions On Tuesday 05 August 2008, Phil Smith wrote: > I'm not sure, but when I look at the -fascii-ized version of > CheckTypeSizeC.o using my text editor on Windows, I find: > INFO:sizeof[00008] > as I'd expect. > > Well, actually I know one answer: the square brackets are a problematic > character, and depend on the codepage. I haven't really looked at the code > otherwise; since -fascii exists, it would seem to me to be the simpler fix. > To get it to work, I added: > > IF(ZOS) > SET(MACRO_CHECK_TYPE_SIZE_FLAGS > "${MACRO_CHECK_TYPE_SIZE_FLAGS} -fasciiout") > ENDIF(ZOS) Try that in your toolchain file: SET(CMAKE_C_COMPILER c:/progra~1/dignus/cc.bat -fasciiout) SET(CMAKE_CXX_COMPILER c:/progra~1/dignus/cxx.bat -fasciiout) Modules/CMakeDetermineC[XX]Compiler.cmake checks whether there is an additional argument given and this should be used then, at least for the first test where it tries to build a basic executable. Alex _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake