Yes, I do mean for rexx.exe to be invoked. For the C and C++ compilers, I'm running cc.rex as a front-end; I was planning on doing the same for the assembler. I'll need to change dcxx.exe to dasm.exe at some point, but for now I was just trying to get it to fail in a "reasonable" way.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Alexander Neundorf Sent: Tuesday, February 03, 2009 3:41 PM To: [email protected] Subject: Re: [CMake] ASM support On Thursday 29 January 2009, Phil Smith wrote: > zosport.cmake (in my build directory): > ------------------------ > # This is a CMake Toolchain file, required for cross-compiling using > # the Dignus cross-compilers on Windows, compiling for z/OS. > > # Tell CMAKE the target system name > SET(CMAKE_SYSTEM_NAME "IBM_ZOS") > > # Specify the cross-compilers > SET(CMAKE_C_COMPILER "rexx.exe" "cc.rex dcc.exe") > SET(CMAKE_CXX_COMPILER "rexx.exe" "cc.rex dcxx.exe") > SET(CMAKE_ASM_DIGNUS_COMPILER "rexx.exe" "cc.rex dcxx.exe") Why do you put "rexx.exe" "cc.rex dcxx.exe" there ? This means that in all three cases you create a list consisting of two elements, the first one being "rexx.exe", the second one being "cc.rex dcxx.exe". Is this what you want ? CMake then tries to find an executable named "cc.rex dcxx.exe" which probably doesn't exist. Do you want three elements in the list ? Then just do SET(CMAKE_C_COMPILER rexx.exe cc.rex dcc.exe ) or SET(CMAKE_C_COMPILER "rexx.exe;cc.rex;dcc.exe" ) Or do you really need to run dcc.exe via cc.rex ? Then we need to do something else. Alex _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
