This descrip_mms.template mainly has changes that Craig Berry gave me
for support of ODS-5 file specifications.
I also changed the behavior of a DEBUG build to produce more useful
listing files.
The listing options should really be separated from the DEBUG option as
a listing with machine code is useful to have for a non-debug build.
There may be latent support present for using the standard stat structure.
-John
[EMAIL PROTECTED]
Personal Opinion Only
--- vms/descrip_mms.template_5_8_6 Tue Feb 1 15:57:22 2005
+++ vms/descrip_mms.template Tue Mar 8 17:34:45 2005
@@ -18,6 +18,8 @@
# cleansrc -- `realclean' + purge *.c,*.h,descrip.mms
# crtl.opt -- compiler-specific linker options file (made automatically)
#
+# 09-Feb-2005 J. Malmberg Add Craig Berry largefile patch
+# 24-Feb-2005 J. Malmberg Fix IEEE floating compile.
#### Start of system configuration section. ####
@@ -31,6 +33,7 @@
~CC~
~MT~
~FLAGS~
+~LARGEFILE~
#: >>>>> Architecture-specific options <<<<<
.ifdef IXE
@@ -122,7 +125,16 @@
.else
XTRAOBJS =
LIBS1 = $(XTRAOBJS)
-DBGSPECFLAGS = /Show=All
+#
+# FIXME: Listing control should be independent of debug settings.
+# Listings are most useful when debugging code not built for
+# debug. This should be a configure option.
+#(over 1 GB of listing information)
+#DBGSPECFLAGS = /Show=All
+
+# This is the worse case that I have ever needed.
+DBGSPECFLAGS = /Show=(expansion,include)/machine
+
# Some versions of DECCRTL on AXP have a bug in chdir() which causes the change
# to persist after the image exits, even when this was not requested, iff
# SYSNAM is enabled. This is fixed in CSC Patch # AXPACRT04_061, but turning
@@ -148,6 +160,11 @@
#: >>>>> Configuration options <<<<<
#: __DEBUG__: builds images with full VMS debugger support
+#
+# FIXME: Listing control should be independent of debug settings.
+# Listings are most useful when debugging code not built for
+# debug. This should be a configure option.
+#
.ifdef __DEBUG__
DBGCCFLAGS = /List/Debug/NoOpt$(DBGSPECFLAGS)
DBGLINKFLAGS = /Trace/Debug/Map/Full/Cross
@@ -210,11 +227,15 @@
.endif
# C preprocessor manifest "DEBUGGING" ==> perl -D, not the VMS debugger
+.IFDEF LARGEFILE
+CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=$(LARGEFILE)
+X2PCFLAGS =
$(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=(PERL_FOR_X2P,$(LARGEFILE))
+CORECFLAGS =
$(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=(PERL_CORE,$(LARGEFILE))
+.ELSE
CFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)
-# Flags for a core compile
-X2PCFLAGS = $(CFLAGS)/Define=PERL_FOR_X2P
-# Flags for an x2p compile
-CORECFLAGS = $(CFLAGS)/Define=PERL_CORE
+X2PCFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=PERL_FOR_X2P
+CORECFLAGS = $(XTRACCFLAGS)$(DBGCCFLAGS)$(FLAGS)/Define=PERL_CORE
+.ENDIF
LINKFLAGS = $(DBGLINKFLAGS)
MAKE = $(MMS)