Hi,Find attached patches to get most of CMake functionality on OS/390 mainframes.
Note 1 The curl part is not yet working. Note 2For some reason I had to patch away the MVS remapping of long external names. Long names work fine for me in USS - Unix System Services.
Note 3 The patch is against CMake 2.4.3 - Magnus _________________________________________________________________Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
CMake Build instructions OS/390 Part 1. Download and patch cmake on a UNIX platform e.g. Linux. Download cmake-2.4.3.tar.gz >wget http://www.cmake.org/files/v2.4/cmake-2.4.3.tar.gz Untar the sources >tar -xvfz cmake-2.4.3.tar.gz Apply the OS/390 patch >patch < cmake-os390.patch Tar and gzip the patched sources. >tar -cvf cmake-2.4.3.os390.tar cmake-2.4.3 >gzip cmake-2.4.3.os390.tarTransfer/Copy the patched sources to your OS/390 mainframe e.g. using ftp in binary mode.
Part 2. Building cmake on OS/390 Unpack the sources >gzip -d cmake-2.4.3.os390.tar.gz >pax -rfcmake-2.4.3.os390.tar -o to=IBM-1047,from=ISO8859-1 Set build environment >export _C89_OPTIONS="-Wc,xplink -Wl,xplink" >export _CXX_OPTIONS="-Wc,xplink -Wl,xplink" >export _CXX_CXXSUFFIX=cxx >export CFLAGS="-D_XOPEN_SOURCE -D_ALL_SOURCE -DOS_390" >export CXXFLAGS="-D_XOPEN_SOURCE -D_ALL_SOURCE -DOS_390" >export CC=c89 >export CXX=c++ >export _C89_CCMODE=1 >export _CXX_CCMODE=1 Bootstrap CMake >cd cmake-2.4.3 >./bootstrap Disable some options not applicable on OS/390 in the CMakeCache.txt file BUILD_CursesDialog:BOOL=OFF CMAKE_COLOR_MAKEFILE:BOOL=OFF CURL_TESTING:BOOL=OFF Build CMake >make
cmake-os390.patch
Description: Binary data
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
