1828041 Members
1866 Online
109973 Solutions
New Discussion

VMS build

 
SOLVED
Go to solution
Arch_Muthiah
Honored Contributor

VMS build

Hi,
I am trying to understand how to build a Module developed using DEC C, C++, and VAX MACRO 32 (ported to Alpha) (three source languages). Here I have attached my existing makefile.vms code, which is used to build. But I don't understand what utility has been used to write this makefile.vms program, is it MMS, or any third party tools?

Could you please give me some idea where can I find the document to understand this "makefile.vms" code

Thanks in advance.
Archunan
Regards
Archie
10 REPLIES 10
Robert Gezelter
Honored Contributor
Solution

Re: VMS build

Archunan,

Your posting omitted many details (type of system, version, etc.).

From the name ("makefile"), I suspect that you are dealing with some version of the "make" utility. From context, I would guess that the system is an Alpha, and it is running 7.3-2 or later. I would further guess that the GNV tools are installed on the system (these are downloadable from the HP OpenVMS www site at http://h71000.www7.hp.com/opensource/opensource.html#gnv).

My recollection is that there is a copy of the make utility in that kit. In that case, you want to check the traditional sources of information about the UNIX/Linux utilities.

I hope that the above is helpful.

- Bob Gezelter, http://www.rlgsc.com
Eberhard Wacker
Valued Contributor

Re: VMS build

Hi,

what I can say is that it is definitely not MMS !

So I think it's superfluous to describe how to determine if MMS is installed and usable on your system.

Cheers,
EW





Arch_Muthiah
Honored Contributor

Re: VMS build

Hi Robert Gezelter/Eberhard Wacker,

Thanks for your response confirming the code is not MMS code and directing me towards GNV.

Bob, as per your suggestion I downloaded GNV readme PDF doc and gone thru that on the same day you asked. Also as per your direction, now I am studying about UX/Linux MAKE utility. I found little similar commands, but not all. Once I make sure GNV's make utility has been used on my build program, then I will download and install GNV.

But still I am confusing whether GNV's make utility has been used or not. your further assistance will be appreciated.

Thanks Archunan
Regards
Archie
Geoff Bryant
Advisor

Re: VMS build

I'm going to guess that it is built with MMK, the Madgoat Make utility. If your system has a symbol for MMK, then try

MMK ALL

Since all is a target in your make file and is the typical target to build "all" of a utility.

Arch_Muthiah
Honored Contributor

Re: VMS build

Hi Geoff Bryant,

The appliation I am going to start build is very old, developed in 1990. This application was given out to third party company to do the maintenance support. Now our company revoked the contract. Now we have only source code without the hardware (VAX and Alpha), OS and documentation.

I tried MMK and MMS from the command prompt, it says unrecgnised cmd.. as I knew recently we purchased five Alpha DWPS 500Au series and one Alpha DS10 server with Ovms V7.3-2 and V8.2 along with C compiler. I did not install any of those MMS, or CMS as we don't purchase DECSet lic.

Let me try, MMK if it is freeware?. also I am trying to make sure GNV Make utlity has been used.

Rgds
Archunan
Thanks
Regards
Archie
Ian Miller.
Honored Contributor

Re: VMS build

Ian Miller.
Honored Contributor

Re: VMS build

a newer version of GNU make is available
http://h71000.www7.hp.com/freeware/freeware50/gmake/
____________________
Purely Personal Opinion
Roger Tucker
Occasional Advisor

Re: VMS build

The makefile looks simple enough that you could just create a DCL command file to do the compile/link. Just an idea.
Martin Vorlaender
Honored Contributor

Re: VMS build

Archunan,

the fact that the targets are directly followed by a ':' makes me think this can't be a MMS/MMK makefile (or "description file" in MMS speak).

But if mdm_cinc:make.vms doesn't have any bad surprises, you should be able to make it work with MMS/MMK by inserting a blank before (and after) the colon separating target and dependencies, and replacing %INCLUDE by .INCLUDE .

HTH,
Martin
Arch_Muthiah
Honored Contributor

Re: VMS build

Hi Martin,

I have so many build procedures, I can go ahead and do little modification and build using MMS/MMK as you said. But the syntex looks similar to GNV code. As Mr.Bob and Joe suggested earlier, I downloaded GNV, and going to start build, If it doesn't work, I am going to re-write all my build procedures using our native MMS or DCL procedures

Thanks for all your suggestions

Archunan


Regards
Archie