[CMake] Getting CMake to run on OpenVMS

Bill Hoffman bill.hoffman at kitware.com
Thu Sep 20 15:50:02 EDT 2007


Alan Antonuk wrote:
> Hi;
>
> I'm trying to get cmake to run on the OpenVMS operating system with a 
> goal of eventually getting ITK to run on VMS.  Searching through this 
> list and on the website it doesn't appear as if this effort has been 
> made.  My first question: has anyone successfully got cmake to run on 
> VMS?
>
> I am prepared to put in the effort to get cmake to run on 
> OpenVMS.  Looking at a mail-thread 
> (http://public.kitware.com/pipermail/cmake/2006-October/011622.html 
> <http://public.kitware.com/pipermail/cmake/2006-October/011622.html>) 
> posted earlier I can answer those questions:
> 1.) Is it command-line based?  Does it support scripting in any form?
> ANSWER: Yes it is command line based, and it does support scripting 
> called DCL - which is not compatible in anyway unix versions of *sh
> 2.) What would the build sequence look like for a simple hello-world.c 
> program?
> ANSWER:
> $ CC /OBJECT=hello-world.OBJ hello-world.c
> $ LINK hello-world.obj /EXECUTABLE=hello-world.EXE
> C++ is similar
> $ CXX /OBJECT= hello-world.OBJ hello-world.cpp
> $ CXXLINK hello-world.OBJ /EXECUTABLE=hello-world.EXE
>
> 3.) Is there a make tool or native build tool of some kind?
> ANSWER: Yes there's a utility called MMS which uses a syntax very 
> similar to make with some key differences ( 
> http://h71000.www7.hp.com/doc/73FINAL/5825/5825_014.htm - look at 
> Appendix B)
>
> My plan of attack for porting cmake - would be to port the bootstrap 
> file to use the DCL scripting language, and then go from there trying 
> to build it.  Is this a sensible way to go?
I looked into this in the past.  My approach was going to be to first 
use gmake on OpenVMS which is ported.  So, if you used the cmake "Unix 
Makefiles" generator and gmake, you should be able to just create some 
platform files to get this going.

-Bill



More information about the CMake mailing list