[Info-vax] make vs. MMS
Jim Duff
jim at send.spam.here
Thu Oct 6 15:54:42 EDT 2022
On 6/10/22 20:20, Phillip Helbig (undress to reply) wrote:
> In general, how difficult is it to get something which works on linux
> and is built via a make file to work on VMS via MMS? The code itself
> should run OK on VMS, it's just the build procedure I'm concerned with.
>
> Up until now, I've dealt with my own code, code for others written with
> VMS in mind, or simple codes (compile, link, run) written for other
> operating systems (but intended to be portable, so just the build is
> VMS-specific). I now want to use a rather large code not written by me
> and probably never run on VMS.
>
In general, the answer is "somewhere between easy and impossible" :)
As you are talking about FORTRAN and you want to use MMS, ignore the
un*x build and generate description files with MMS/GENERATE, then tweak
if needed.
I've used this (with a custom written parser to detect and cope with
some unconventional include files) to automatically generate MMS for a
code base approximately 10 times the size you mention further
down-thread, written in ANSI COBOL. Of the 100K or so source modules,
only about ten or twenty of the generated MMS description files needed
to be tweaked to get it to work.
More information about the Info-vax
mailing list