From d20ba8956d4a8102c7d3d7aa259fc1274f6e23e1 Mon Sep 17 00:00:00 2001 From: David Lee Date: Thu, 4 Jul 2024 11:39:28 -0700 Subject: [PATCH] linux build --- Microsoft Fortran v331/m.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Microsoft Fortran v331/m.sh diff --git a/Microsoft Fortran v331/m.sh b/Microsoft Fortran v331/m.sh new file mode 100644 index 0000000..8939a12 --- /dev/null +++ b/Microsoft Fortran v331/m.sh @@ -0,0 +1,20 @@ +str=$(tr '[a-z]' '[A-Z]' <<< $1) + +rm $str.EXE 2>/dev/null +rm $str.LST 2>/dev/null +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null +rm $str.COD 2>/dev/null + +ntvdm -u -r:. for1 $str,$str,$str,$str +ntvdm -u -r:. pas2 +ntvdm -u -r:. pas3 + +ntvdm -u -r:. -e:LIB=libs -f link $str,$str,$str,fortran.lib+cexec.lib + +rm $str.LST 2>/dev/null +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null +rm $str.COD 2>/dev/null + +ntvdm -u -r:. $str