- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- If interest with ! Three documents on MMK
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
Forums
Discussions
Discussions
Discussions
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
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
02-10-2013 08:41 AM
02-10-2013 08:41 AM
If interest with ! Three documents on MMK
1/ Designing MMS/MMK portable Makefile
http://vouters.dyndns.org/tima/OpenVMS-MMS-MMK-MMS_MMK_differences-Some_notes.html
2/ GNU Make/MMK/Visual Studio nmake Makefiles - A comparison
http://vouters.dyndns.org/tima/All-OS-GNU_make-MMK-nmake-Makefiles_comparison-Some_notes.html
3/ MMK - Rules and dependancies - Advanced MMK techniques
http://vouters.dyndns.org/tima/OpenVMS-MMK-Rules_and_dependencies.html
In the hope this will satisfy some of you, easing and simplifying your work on designing Makefiles
Philippe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2013 12:43 AM
02-11-2013 12:43 AM
Re: If interest with ! Three documents on MMK
> 2/ GNU Make/MMK/Visual Studio nmake Makefiles - A comparison
GNU Make is available for VMS as well. For those who want to compare the pointed to Makefiles with one for VMS:
$ gmake -v
GNU Make 3.82.90
Built for VMS
Copyright (C) 1988-2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$
$ type makefile.vms
# GNU make Makefile for VMS to build telnet.exe
CFLAGS += /reentrancy=(multithread)
LDFLAGS += /thread=(multiple,upcalls)
VERSION = f$$edit(f$$getsyi("version"),"collapse")
PLATFORM = f$$getsyi("arch_name")
ECHO = write sys$$output
OBJS = telnet.obj dbgdmp.obj decode_64.obj
.PHONY: all os clean
all : os clean telnet.exe
telnet.exe : $(OBJS)
os :
@ $(ECHO) "Building for HP OpenVMS/" + $(PLATFORM) + \
" " + $(VERSION) + "..."
clean :
if f$$search("*.obj") .nes. "" then delete/nolog/noconfirm *.obj;
if f$$search("telnet.exe") .nes. "" then \
delete/nolog/noconfirm telnet.exe;
$
- Tags:
- gmake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2013 12:55 PM
02-13-2013 12:55 PM
Re: If interest with ! Three documents on MMK
Note that MMK is open source and is under fairly active development:
https://github.com/endlesssoftware/mmk: https://github.com/endlesssoftware/mmk
So if you wanted to report a bug or implement a new feature you could do so there (bugs are called "Issues" on github).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2013 11:40 AM
02-14-2013 11:40 AM
Re: If interest with ! Three documents on MMK
Hi Harmut,
Your telnet GNV Make sample is not highly GNU Make coloured. Here is one very GNU Make coloured which I wrote:
$ cat SSLMail/Makefile_smtp
# gmake Makefile for smtp
SHELL=/bin/sh
#IPv6FLAG=-D_USE_INET6
CC_OSF1=cc
CXX_OSF1=cxx
LDFLAGS_OSF1=
DFLAGS_OSF1=$(IPv6FLAG) -D__USE_STD_IOSTREAM
CC_HP-UX=cc
CXX_HP-UX=aCC
DFLAGS_HP-UX=$(IPv6FLAG) -D__unix__
LDFLAGS_HP-UX=-lssl -lcrypto
CC_OpenVMS=cc -Os
CXX_OpenVMS=cxx -Os
LDFLAGS_OpenVMS=-L/TCPIP\$$LIBRARY -ltcpip\$$lib \
-L/SYS\$$SHARE -lssl -lcrypto
DFLAGS_OpenVMS=$(IPv6FLAG)
CC_Linux=gcc -O2
CXX_Linux=g++ -O0 -g
LDFLAGS_Linux=-lresolv -lssl -lcrypto
DFLAGS_Linux=$(IPv6FLAG) -D_REENTRANT
CC_SunOS=/usr/local/bin/gcc -I/usr/include
CXX_SunOS=/usr/local/bin/g++ -I/usr/include
DFLAGS_SunOS=$(IPv6FLAG)
LDFLAGS_SunOS=-lsocket -lnsl -lssl -lcrypto
#
OS= $(shell uname -s)
CC=CC_$(OS)
CXX=CXX_$(OS)
LDFLAGS=LDFLAGS_$(OS)
DFLAGS=DFLAGS_$(OS)
BIN?=$(HOME)/bin
OBJS= sockutil.o \
ls.o \
fileparse.o \
uuencode_base64.o \
encode.o \
decode.o \
digest_md5.o \
gssapi.o
ifeq ($(OS),OpenVMS)
OBJS+=smtp_util.o
endif
ifneq ($(TRACE),)
EXTRA_OBJ=../LeakTrace/LeakTracer.o
endif
ifeq ($(DEBUG),true)
CFLAGS+=-DDEBUG
endif
CFLAGS+=$(shell if [ -f /usr/include/gssapi.h ]; then \
echo "-DHAVE_HEIMDAL_KRB5"; \
elif [ -f /usr/include/gssapi/gssapi_generic.h ]; then \
echo "-DHAVE_MIT_KRB5"; \
elif [ -f /usr/include/gssapi/gssapi_ext.h ]; then \
echo "-DHAVE_SUN_KRB5"; \
fi)
CFLAGS+=$(shell if [ -f /usr/include/et/com_err.h ]; then\
echo "-DHAVE_ET_COM_ERR_H";fi)
ifneq ($(OS),OpenVMS)
LDFLAGS_$(OS)+=$(shell if [[ -d /usr/include && (( -f /usr/include/gssapi.h || \
-f /usr/include/gssapi/gssapi_generic.h || \
-f /usr/include/gssapi/gssapi_ext.h )) ]]; then \
echo "-lgssapi_krb5"; \
fi)
endif
ifeq ($(CC),cc)
CC=$(CC_$(OS))
endif
ifeq ($(CXX),g++)
CXX=$(CXX_$(OS))
endif
ifeq ($(LDFLAGS),)
LDFLAGS=$(LDFLAGS_$(OS))
endif
ifeq ($(DFLAGS),)
DFLAGS=$(DFLAGS_$(OS))
endif
all: os clean smtp
smtp: smtp.cxx $(OBJS)
$($(CXX)) $($(DFLAGS)) smtp.cxx -o smtp $(OBJS) $(EXTRA_OBJ) $($(LDFLAGS))
.c.o:
$($(CC)) $($(DFLAGS)) $(CFLAGS) -c $<
sockutil.o: sockutil.cxx sockutil.hxx
$($(CXX)) $($(DFLAGS)) -c sockutil.cxx
os:
@echo "Building for $(OS)..."
clean:
rm -f *.o
rm -f $(BIN)/smtp
rm -f core
Another pure GNV Make sample highly VMS coloured I could not get it to work
$ cd examples/Pascal
$ type GNU_a.mms
SHELL=/bin/dcl
PASCAL=PASCAL
all: P2C_LTVT_MODUL.OBJ P2C_LTVLEIPL_MODUL.OBJ
.pas.OBJ:
$(SHELL) $(PASCAL) $*.PAS
P2C_LTVT_MODUL.OBJ P2C_LTVLEIPL_MODUL.OBJ: P2C_LTVT_MODUL.pas \
P2C_LTVLEIPL_MODUL.pas
#P2C_LTVT_MODUL.OBJ: P2C_LTVT_MODUL.pas
#P2C_LTVLEIPL_MODUL.OBJ: P2C_LTVLEIPL_MODUL.pas
$ bash
bash$ make -f GNU_a.mms
make: Nothing to be done for `all'.
bash$ ls
GNU_a.mms b.mms foo.mms ltcodes_modul.pas
P2C_LTVLEIPL_MODUL.pas basis_modul.def foo1_MODUL.pas
P2C_LTVT_MODUL.pas basis_modul.pas foo2_MODUL.pas
a.mms descrip.mms ltcodes_modul.def
bash$ exit
exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2013 12:04 PM
02-14-2013 12:04 PM
Re: If interest with ! Three documents on MMK
Hi Craig,
If you know how to let the MMK maintainers aware of this simple fix to the
INCLUDE = text
issue that I document in the yellow coloured part of my today's updated document at http://vouters.dyndns.org/tima/OpenVMS-MMS-MMK-MMS_MMK_differences-Some_notes.html, you are more than welcomed.
Also, I would need an MMK maintainer point of view on what could be regarded as a bug or not. It all depends upon either MMS or GNU Make/nmake behaviour compatibility which is looked after.
It happens with such constructs:
foo1.obj foo2.obj : foo1.c foo2.c
if I only manually delete foo2.obj, then both foo1.obj and foo2.obj are rebuilt when running MMS/MMK and only foo2.obj is rebuilt when running GNU Make/Microsoft nmake.
If you own some contacts within the MMK maintainers, please provide your contact the URL to this thread.
Thank you so much in advance.
Yours truly,
Philippe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2013 03:14 PM
02-14-2013 03:14 PM
Re: If interest with ! Three documents on MMK
Hartmut,
The very strange thing with GNV Make and the small GNU_a.mms using VMS/PASCAL source files I could not succeed to make it work and I posted earlier, this very similar descrip.mms works fully as expected with exactly the same behaviour on both Linux Fedora 18 (can't be more than up to date) and OpenVMS V8.3.
[philippe@victor ~]$ sftp remote-host
Welcome to hp OpenVMS Industry Standard 64 Operating System, Version V8.3
Enter passphrase for key '/home/philippe/.ssh/id_rsa':
Connected to remote-host.
sftp> mkdir examples/C
sftp> cd examples/C
sftp> put P2C_LTVLEIPL_MODUL.c
Uploading P2C_LTVLEIPL_MODUL.c to /DISK$USERS/pv/EXAMPLES/C/P2C_LTVLEIPL_MODUL.c
P2C_LTVLEIPL_MODUL.c 100% 41 0.0KB/s 00:00
sftp> put P2C_LTVT_MODUL.c
Uploading P2C_LTVT_MODUL.c to /DISK$USERS/pv/EXAMPLES/C/P2C_LTVT_MODUL.c
P2C_LTVT_MODUL.c 100% 37 0.0KB/s 00:00
sftp> !ls descrip.mms
descrip.mms
sftp> !cat descrip.mms
all: P2C_LTVT_MODUL.o P2C_LTVLEIPL_MODUL.o
P2C_LTVT_MODUL.o P2C_LTVLEIPL_MODUL.o: P2C_LTVT_MODUL.c \
P2C_LTVLEIPL_MODUL.c
.c.o:
$(CC) -c -o $@ $*.c
sftp> put descrip.mms
Uploading descrip.mms to /DISK$USERS/pv/EXAMPLES/C/descrip.mms
descrip.mms 100% 155 0.2KB/s 00:00
sftp> bye
[philippe@victor ~]$ ssh remote-host
Welcome to hp OpenVMS Industry Standard 64 Operating System, Version V8.3
Enter passphrase for key '/home/philippe/.ssh/id_rsa':
Last interactive login on Thursday, 14-FEB-2013 20:37:12.58
Last non-interactive login on Thursday, 14-FEB-2013 23:57:14.83
%GNU_STARTUP-I-SETTING_UP, setting up Autoconf for VMS version 1.105
%GNU_STARTUP-I-SETTING_UP, setting up M4 version 1.4
%GNU_STARTUP-I-SETTING_UP, setting up SSLMail version 1.0
$ cd examples/C
$ bash
bash$ make -f descrip.mms
cc -c -o P2C_LTVT_MODUL.o P2C_LTVT_MODUL.c
cc -c -o P2C_LTVLEIPL_MODUL.o P2C_LTVLEIPL_MODUL.c
bash$ rm P2C_LTVLEIPL_MODUL.o
bash$ make -f descrip.mms
cc -c -o P2C_LTVLEIPL_MODUL.o P2C_LTVLEIPL_MODUL.c
bash$ cat P2C_LTVT_MODUL.c
void P2C_LTVT_MODUL(void){
return;
}
bash$ cat P2C_LTVLEIPL_MODUL.c
void P2C_LTVLEIPL_MODUL(void){
return;
}
bash$ uname -s
OpenVMS
bash$ exit
exit
$ lo
Connection to remote-host closed.013 00:01:13.69
Regards,
Philippe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2013 04:07 PM
02-14-2013 04:07 PM
Re: If interest with ! Three documents on MMK
To me this looks like a lower-/UPPERCASE filename problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2013 04:30 PM
02-14-2013 04:30 PM
Re: If interest with ! Three documents on MMK
Hartmut,
You can play with this hereafter. It invokes the HP C compiler, which you should have available, either directly (GNU_a.mms) through /bin/dcl or indirectly (DESCRIP.MMS) via the GNV cc wrapper. This GNU_a.mms is the VMS/PASCAL sources one fitted to VMS/C sources. This does strangely look as a GNV make bug or if you are delicate with HP OpenVMS business a strong limitation.
As a side note regarding my very GNU Make coloured Makefile posted earlier, it GNV builds fine using my cc wrapper version andf the following syntax:
LDFLAGS_OpenVMS=-L/TCPIP\$$LIBRARY -l:tcpip\$$lib.olb \
-L/SYS\$$SHARE -lssl -lcrypto
Notice the -l:tcpip\$$lib.olb syntax which matches the Linux and HP-UX ld mans (other Unix/Unix-like ????).
The previous post containing -L/TCPIP\$$LIBRARY -ltcpip\$$lib is not working under HP GNV as it only looks after TCPIP$LIBRARY:tcpip$lib.exe which does not exist. There was no GNV kit way to specify an archive (.OLB/.a). I do not know whether the latest GNV kit incorporates my changes to the cc wrapper.
Regards,
Philippe
$ cd examples/C
$ dir
Directory DISK$USERS:[pv.EXAMPLES.C]
DESCRIP.MMS;1 GNU_a.mms;8 P2C_LTVLEIPL_MODUL.C;1
P2C_LTVT_MODUL.C;1
Total of 4 files.
$ type GNU_a.mms
SHELL=/bin/dcl
CC=cc
all: P2C_LTVT_MODUL.OBJ P2C_LTVLEIPL_MODUL.OBJ
.c.OBJ:
$(SHELL) $(CC) $*.C
P2C_LTVT_MODUL.OBJ P2C_LTVLEIPL_MODUL.OBJ: P2C_LTVT_MODUL.C \
P2C_LTVLEIPL_MODUL.C
$ bash
bash$ make -f GNU_a.mms
make: Nothing to be done for `all'.
bash$ cat descrip.mms
all: P2C_LTVT_MODUL.o P2C_LTVLEIPL_MODUL.o
P2C_LTVT_MODUL.o P2C_LTVLEIPL_MODUL.o: P2C_LTVT_MODUL.c \
P2C_LTVLEIPL_MODUL.c
.c.o:
$(CC) -c -o $@ $*.c
bash$ rm *.o
bash$ make -f DESCRIP.MMS
cc -c -o P2C_LTVT_MODUL.o P2C_LTVT_MODUL.c
cc -c -o P2C_LTVLEIPL_MODUL.o P2C_LTVLEIPL_MODUL.c
bash$ exit
exit
$ delete *.o;
$ type P2C_LTVT_MODUL.c
void P2C_LTVT_MODUL(void){
return;
}
$ type P2C_LTVLEIPL_MODUL.c
void P2C_LTVLEIPL_MODUL(void){
return;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2013 04:57 PM
02-14-2013 04:57 PM
Re: If interest with ! Three documents on MMK
Hartmut,
Our replies to this post crossed. To answer your supposition:
$ bash
bash$ make -f DESCRIP.MMS
cc -c -o P2C_LTVT_MODUL.o P2C_LTVT_MODUL.C
cc -c -o P2C_LTVLEIPL_MODUL.o P2C_LTVLEIPL_MODUL.C
bash$ rm *.o
bash$ cat DESCRIP.MMS
all: P2C_LTVT_MODUL.o P2C_LTVLEIPL_MODUL.o
P2C_LTVT_MODUL.o P2C_LTVLEIPL_MODUL.o: P2C_LTVT_MODUL.C \
P2C_LTVLEIPL_MODUL.C
.C.o:
$(CC) -c -o $@ $*.C
bash$ dcl sho proc/all
15-FEB-2013 01:52:15.57 User: PV Process ID: 000089B1
Node: SG1 Process name: "PV_57598"
Terminal:
User Identifier: [USERS,PV]
Base priority: 4
Default file spec: DISK$USERS:[pv.EXAMPLES.C]
Number of Kthreads: 1
Process Quotas:
Account name: USERS
CPU limit: Infinite Direct I/O limit: 16
Buffered I/O byte count quota: 189440 Buffered I/O limit: 16
Timer queue entry quota: 9 Open file quota: 97
Paging file quota: 487104 Subprocess quota: 8
Default page fault cluster: 64 AST quota: 99
Enqueue quota: 1997 Shared file limit: 0
Max detached processes: 0 Max active jobs: 0
Accounting information:
Buffered I/O count: 75 Peak working set size: 3552
Direct I/O count: 0 Peak virtual size: 177344
Page faults: 218 Mounted volumes: 0
Images activated: 1
Elapsed CPU time: 0 00:00:00.01
Connect time: 0 00:00:00.06
Authorized privileges:
NETMBX TMPMBX
Process privileges:
NETMBX may create network device
TMPMBX may create temporary mailbox
Process rights:
PV resource
INTERACTIVE
LOCAL
System rights:
SYS$NODE_SG1
Auto-unshelve: on
Image Dump: off
Soft CPU Affinity: off
Parse Style: Extended
Case Lookup: Blind
Units: Blocks
Token Size: Traditional
Home RAD: 0
Scheduling class name: none
Process Dynamic Memory Area
Current Size (KB) 528.00 Current Size (Pagelets) 1056
Free Space (KB) 503.00 Space in Use (KB) 25.00
Largest Var Block (KB) 496.00 Smallest Var Block (bytes) 48
Number of Free Blocks 3 Free Blocks LEQU 64 bytes 1
There are 3 processes in this job:
PV
PV_42367
PV_57598 (*)
bash$
So it does not seem to be a filename casing problem using my version of GNV make. Also can you run GNV make under a bash shell ? As you can notice it from the bash$ dcl show proc/all, I run with Parse Style: Extended. Also the above and the previous run makes me think since when something which pretends to be Unix compatible is filename case insensitive ?!!?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2013 06:51 AM
02-16-2013 06:51 AM
Re: If interest with ! Three documents on MMK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2013 06:14 AM
02-17-2013 06:14 AM
Re: If interest with ! Three documents on MMK
Hartmut,
The .SUFFIXES line to be added was THE point. With make -h, I found make -p very interesting regarding SUFFIXES. Thanks to you I learned.
However I now face another difficulty I have not yet the response for.
$ dire dcl.exe
%DIRECT-W-NOFILES, no files found
$ sho logical dcl$path
"DCL$PATH" = "[]" (LNM$PROCESS_TABLE)
= "DISK$USERS:[pv.gnv213.BIN]"
$ bash
bash$ make -f GNU_a.mms
dcl PASCAL P2C_LTVLEIPL_MODUL.pas
%DCL-W-NOCOMD, no command on line - reenter with alphabetic first character
%DCL-W-NOCOMD, no command on line - reenter with alphabetic first character
make: *** [P2C_LTVLEIPL_MODUL.OBJ] Error 176
bash$ dcl PASCAL P2C_LTVLEIPL_MODUL.pas
bash$ rm *.OBJ
bash$ cat GNU_a.mms
SHELL=dcl
PASCAL=PASCAL
.SUFFIXES: .pas .OBJ
all: P2C_LTVT_MODUL.OBJ P2C_LTVLEIPL_MODUL.OBJ
.pas.OBJ:
$(SHELL) $(PASCAL) $*.pas
P2C_LTVT_MODUL.OBJ P2C_LTVLEIPL_MODUL.OBJ: P2C_LTVT_MODUL.pas \
P2C_LTVLEIPL_MODUL.pas
bash$
So I have to dig more into.
Anyway, many thanks for your so far kind and knowledgeable support.
Philippe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2013 07:05 AM
02-17-2013 07:05 AM
Re: If interest with ! Three documents on MMK
Hartmut,
Looks like the GNV make I run is buggy. I got the reason why my GNU_a.mms fails on the dcl command.
$ set verify
$ bash
bash$ make -f GNU_a.mms
dcl PASCAL /object=P2C_LTVT_MODUL.OBJ P2C_LTVT_MODUL.pas
$ define/nolog sys$error _MBA14121:
$ open/write sys$error _MBA14121:
$ define/nolog/user sys$input _MBA14122:
-c dcl PASCAL /object=P2C_LTVT_MODUL.OBJ P2C_LTVT_MODUL.pas
%DCL-W-NOCOMD, no command on line - reenter with alphabetic first character
%DCL-W-NOCOMD, no command on line - reenter with alphabetic first character
make: *** [P2C_LTVT_MODUL.OBJ] Error 176
bash$ sh -c 'dcl PASCAL /object=P2C_LTVT_MODUL.OBJ P2C_LTVT_MODUL.pas'
$ define/nolog sys$error _MBA14136:
$ open/write sys$error _MBA14136:
$ define/nolog/user sys$input _MBA14137:
PASCAL /object=P2C_LTVT_MODUL.OBJ P2C_LTVT_MODUL.pas
bash$
So as far it looks /bin/dcl.exe gets implicitely executed and passed wrong arguments. This is reinforced with this test:
$ set verify
$ bash
bash$ make -f GNU_a.mms
PASCAL /object=P2C_LTVLEIPL_MODUL.OBJ P2C_LTVLEIPL_MODUL.pas
$ define/nolog sys$error _MBA14168:
$ open/write sys$error _MBA14168:
$ define/nolog/user sys$input _MBA14169:
-c PASCAL /object=P2C_LTVLEIPL_MODUL.OBJ P2C_LTVLEIPL_MODUL.pas
%DCL-W-NOCOMD, no command on line - reenter with alphabetic first character
%DCL-W-NOCOMD, no command on line - reenter with alphabetic first character
make: *** [P2C_LTVLEIPL_MODUL.OBJ] Error 176
bash$ cat GNU_a.mms
SHELL=dcl
PASCAL=PASCAL
.SUFFIXES: .pas .OBJ
all: P2C_LTVT_MODUL.OBJ P2C_LTVLEIPL_MODUL.OBJ
.pas.OBJ:
$(PASCAL) /object=$@ $*.pas
P2C_LTVT_MODUL.OBJ P2C_LTVLEIPL_MODUL.OBJ: P2C_LTVT_MODUL.pas \
P2C_LTVLEIPL_MODUL.pas
bash$
which I would rather have expected a PASCAL: no such file or directory error. This makes Unix sense:
bash$ sh -c 'PASCAL /object=P2C_LTVT_MODUL.OBJ P2C_LTVT_MODUL.pas'
sh: PASCAL: command not found
bash$
Yours truly,
Philippe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2013 08:37 AM
02-17-2013 08:37 AM
Re: If interest with ! Three documents on MMK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2013 07:21 PM
03-07-2013 07:21 PM
Re: If interest with ! Three documents on MMK
Hi Philippe,
I am the MMK maintainer :-) Thanks for your bug report regarding the INCLUDE directive. I have since raised an issue, here:
https://github.com/endlesssoftware/mmk/issues/52
and I'll get on to it very soon; I am currently at the very end of punching out the much awaited V5.0 release.
As for your other question. Are you able to give me a more complete example? I'm not really sure what you are getting at.
Lastly, I've noticed that you've written a few articles regarding MMK, which is fantastic! If you have any enhancements, questions, etc. please direct them to the Github Issues page for MMK. They have a much greater chance of being answered there.
Regards, Tim.