From be2316a97c0d37503bd454a8a5c1605ec5dce3b2 Mon Sep 17 00:00:00 2001 From: David Lee Date: Wed, 24 Jul 2024 06:56:04 -0700 Subject: [PATCH] linux build --- Microsoft COBOL v112/m.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Microsoft COBOL v112/m.sh diff --git a/Microsoft COBOL v112/m.sh b/Microsoft COBOL v112/m.sh new file mode 100644 index 0000000..e141978 --- /dev/null +++ b/Microsoft COBOL v112/m.sh @@ -0,0 +1,16 @@ +str=$(tr '[a-z]' '[A-Z]' <<< $1) + +rm $str.OBJ 2>/dev/null +rm $str.LST 2>/dev/null +rm $str.MAP 2>/dev/null +rm $str.EXE 2>/dev/null + +ntvdm -u -r:. -h -c -d COBOL $str,$str,$str/D\; +ntvdm -u -h -c -r:. LINK $str,$str,$str,C:\; + +rm $str.OBJ 2>/dev/null +rm $str.LST 2>/dev/null +rm $str.MAP 2>/dev/null + +ntvdm -u -r:. -c -m $str +