NOTE: These instructions pertain to the Dignus 1.6.0 version.
/usr/local/dignus - The high level directory.
/usr/local/dignus/bin - The binary directory.
/usr/local/dignus/lib - The runtime libraries.
/usr/local/dignus/maclib - The Macro library.
/usr/local/dignus/include - The Include library.
$ cd /your_dignus_sysc
$ cp d2s dar dcc dccpc dranlib goff2xsd plink /usr/local/dignus/bin/
$ cd /your_dignus_sysasm
$ cp dasm dccpa /usr/local/dignus/bin
Also, put your license file into the bin directory.
$ cd /your_dignus_sysc/objs_norent
$ dar rv ../libc.a *
$ dar rv ../libmvs.a *38
$ cd ..
$ dranlib libc.a
$ dranlib libmvs.a
$ cp libc.a libmvs.a /usr/local/dignus/lib/
Note: GCC currently does not support the re-entrant libraries.
$ cd /your_dignus_sysc/maclib
$ cp * /usr/local/dignus/maclib/
$ cd /your_dignus_sysc
$ cp -r include /usr/local/dignus
$ cd /your_source_dir
$ tar xzf gcc-3.2.tar.gz
$ tar xzf gcc-addons.tar.gz
$ cd /your_source_dir/gcc-addons/support/dignus
$ cp gasm glink /usr/local/dignus/bin/
$ cd /usr/local/dignus
$ patch -p0 -N < /your_source_dir/gcc-addons/support/dignus/include.diff
These patches may not work on pre 1.6.0 versions of the Dignus include headers.
$ cd /your_source_dir
$ mkdir gcc-bin
$ cd gcc-bin
$ ../gcc-3.2/configure --enable-languages=c \
--with-ld=/usr/local/dignus/bin/glink \
--with-as=/usr/local/dignus/bin/gasm \
--target=i370-ibm-mvsdignus
$ make
$ mkdir -p /usr/local/lib/gcc-lib/i370-ibm-mvsdignus/3.2/
$ cd /your_source_dir/gcc-bin/gcc
$ cp cc1 collect2 cpp cpp0 gcov tradcpp0 specs \
/usr/local/lib/gcc-lib/i370-ibm-mvsdignus/3.2/
$ cp xgcc /usr/local/bin/gcc-mvsdignus
$ cd /usr/local/lib/gcc-lib/i370-ibm-mvsdignus/3.2
$ ln -s /usr/local/dignus/include include
You are now ready to run GCC using the Dignus environment. The resulting output of the PLINK is not a true executable. It must be transferred to the IBM system in binary mode and run through the link editor to make a load module.
This page is maintained by David Pitts.
Please email
with comments and corrections.
Last modified 2020/04/08.