- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Makefile in VMS itanium
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 12:02 PM
тАО06-05-2009 12:02 PM
Makefile in VMS itanium
I am trying to convert mms files to make files and to use make instead. I have problem in using symbol with "$". Look at this example:
"OBJ$" = "DEV_SRC:[YLIU.CFTS.ELX_003_023_007_023.OBJ]"
Here is the make file:
#test.mak
show:
show log OBJ$
And here is the result I got:
ylqa
show log OBJ
%SHOW-S-NOTRAN, no translation for logical name OBJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 12:27 PM
тАО06-05-2009 12:27 PM
Re: Makefile in VMS itanium
Depending on which particular make utility is in use here, doubling the character may get you where you need to be.
Specifically:
show logical obj$$
If it's the gmake tool in use here, then reading the gmake documentation can often provide insight into how the tool works. In this case, here's the specific gmake section related to variable-name processing within the tool:
http://www.gnu.org/software/make/manual/make.html#Using-Variables
There are various make tools around. Here's one list:
http://en.wikipedia.org/wiki/Make_(software)
And the DECset MMS tool is available on OpenVMS I64, FWIW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 12:36 PM
тАО06-05-2009 12:36 PM
Re: Makefile in VMS itanium
YE LIU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 12:48 PM
тАО06-05-2009 12:48 PM
Re: Makefile in VMS itanium
Here is a bonus question: in vms makefile, if I want to use multiple line input as one line, shall I use "\" or "-"?
Thanks,
YE LIU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 12:50 PM
тАО06-05-2009 12:50 PM
Re: Makefile in VMS itanium
>>>
Thanks, Hoff. Double the money ($) will do it.
<<<
... but in these forums, the currency is POINTS.
And the good thing about them, is you can make them (well, give away as reward) as much as you like.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 01:52 PM
тАО06-05-2009 01:52 PM
Re: Makefile in VMS itanium
> files and to use make instead.
Why? Which "make"?
> [...] shall I use "\" or "-"?
MMS lets you use either. I normally use "\"
for dependencies, macros, and other
"make"-like things, and "-" for DCL action
lines.
"\" would be more UNIX-like, so I'd expect
most "make" programs to like it more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 02:01 PM
тАО06-05-2009 02:01 PM
Re: Makefile in VMS itanium
Please run a quick search for "continuation" in the gmake documentation for some makefile examples involving the gmake backslash syntax:
http://www.gnu.org/software/make/manual/make.html
There are various makefiles available on the OpenVMS Freeware which can serve as examples, too. Look here:
http://digiater.nl/openvms/freeware/
Alternatively, a couple of small tests in your makefile should get you an answer around the particular gmake (\) or DCL (-) continuation in the particular command context you're looking at, and these tests can get you going quickly. You're setting out to write a makefile here; a task I've always found requires substantial testing and at least some time reading some arcane corner or another of the associated documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 04:50 AM
тАО06-08-2009 04:50 AM
Re: Makefile in VMS itanium
YE LIU