summaryrefslogtreecommitdiffstats
path: root/vms
diff options
context:
space:
mode:
Diffstat (limited to 'vms')
-rw-r--r--vms/c++/examples/check.com52
-rw-r--r--vms/c++/examples/make.com57
2 files changed, 64 insertions, 45 deletions
diff --git a/vms/c++/examples/check.com b/vms/c++/examples/check.com
new file mode 100644
index 0000000..f81c224
--- /dev/null
+++ b/vms/c++/examples/check.com
@@ -0,0 +1,52 @@
+$!#
+$!# Copyright by the Board of Trustees of the University of Illinois.
+$!# All rights reserved.
+$!#
+$!# This file is part of HDF5. The full HDF5 copyright notice, including
+$!# terms governing use, modification, and redistribution, is contained in
+$!# the files COPYING and Copyright.html. COPYING can be found at the root
+$!# of the source code distribution tree; Copyright.html can be found at the
+$!# root level of an installed copy of the electronic HDF5 document set and
+$!# is linked from the top-level documents page. It can also be found at
+$!# http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
+$!# access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
+$!#
+$!
+$! Command file to run C++ examples
+$!
+$!
+$ type sys$input
+
+ Running create
+$ run create
+$!
+$ type sys$input
+
+ Running readdata
+$ run readdata
+$!
+$ type sys$input
+
+ Running writedata
+$ run writedata
+$!
+$ type sys$input
+
+ Running compound
+$ run compound
+$!
+$ type sys$input
+
+ Running extend_ds
+$ run extend_ds
+$!
+$ type sys$input
+
+ Running chunks
+$ run chunks
+$!
+$ type sys$input
+
+ Running h5group
+$ run h5group
+$ exit
diff --git a/vms/c++/examples/make.com b/vms/c++/examples/make.com
index e86cdcd..053879f 100644
--- a/vms/c++/examples/make.com
+++ b/vms/c++/examples/make.com
@@ -14,15 +14,15 @@ $!#
$!
$! Make HDF5 C++ examples
$!
-$ ccopt = "/float=ieee_float/standard=strict_ansi"
+$! cxxopt = "/float=ieee_float/standard=strict_ansi/define=H5_VMS"
$
-$ ccc := cxx 'ccopt /debug/define=H5_VMS/include=([-.-.src], [-.src])
-$
+$ ccc := cxx 'cxxopt /include=([-.-.src], [-.src])
+$!
$!
$ cxxobj= "create.cxx, readdata.cxx, writedata.cxx, compound.cxx,"+-
"extend_ds.cxx, chunks.cxx, h5group.cxx"
-$
-$
+$!
+$!
$ ccc 'cxxobj
$ type sys$input
@@ -36,73 +36,40 @@ $ type sys$input
$ cxxlink readdata, -
[-.src]hdf5_cplus.olb/lib, -
[-.-.src]hdf5.olb/lib
-$
+$!
$ type sys$input
Creating writedata
$ cxxlink writedata, -
[-.src]hdf5_cplus.olb/lib, -
[-.-.src]hdf5.olb/lib
-$
+$ !
$ type sys$input
Creating compound
$ cxxlink compound, -
[-.src]hdf5_cplus.olb/lib, -
[-.-.src]hdf5.olb/lib
-$
+$!
$ type sys$input
Creating extend_ds
$ cxxlink extend_ds, -
[-.src]hdf5_cplus.olb/lib, -
[-.-.src]hdf5.olb/lib
-$
+$!
$ type sys$input
Creating chunks
$ cxxlink chunks, -
[-.src]hdf5_cplus.olb/lib, -
[-.-.src]hdf5.olb/lib
-$
+$!
$ type sys$input
Creating h5group
$ cxxlink h5group, -
[-.src]hdf5_cplus.olb/lib, -
[-.-.src]hdf5.olb/lib
-$
-$ type sys$input
-
- Running create
-$ run create
-$
-$ type sys$input
-
- Running readdata
-$ run readdata
-$
-$ type sys$input
-
- Running writedata
-$ run writedata
-$
-$ type sys$input
-
- Running compound
-$ run compound
-$
-$ type sys$input
-
- Running extend_ds
-$ run extend_ds
-$
-$ type sys$input
-
- Running chunks
-$ run chunks
-$
-$ type sys$input
-
- Running h5group
-$ run h5group
+$!
+$ exit