aboutsummaryrefslogtreecommitdiffstats
path: root/vms/vmsbuild.com
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-11-18 23:00:31 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-11-18 23:00:31 +0200
commit6f3612539c425da2bc1d34db621696e6a273b01c (patch)
tree9623b3ac2c54a93e5eed3be2b1dda7f4e4bf0e47 /vms/vmsbuild.com
parent4e3701015635401df2fc4da58abaab7645f4ebd3 (diff)
downloadegawk-6f3612539c425da2bc1d34db621696e6a273b01c.tar.gz
egawk-6f3612539c425da2bc1d34db621696e6a273b01c.tar.bz2
egawk-6f3612539c425da2bc1d34db621696e6a273b01c.zip
Bring latest byte code gawk into git. Hurray!
Diffstat (limited to 'vms/vmsbuild.com')
-rw-r--r--vms/vmsbuild.com33
1 files changed, 31 insertions, 2 deletions
diff --git a/vms/vmsbuild.com b/vms/vmsbuild.com
index c56f1a8d..a6674371 100644
--- a/vms/vmsbuild.com
+++ b/vms/vmsbuild.com
@@ -8,6 +8,7 @@ $! gawk 3.0.1 revised, Nov'96
$! gawk 3.1.0 revised, Mar'01
$! gawk 3.1.1 revised, Apr'02
$! gawk 3.1.6 revised, Mar'07
+$! gawk-bytecode revd, Jan'10
$!
$ REL = "3.1" !release version number
$ PATCHLVL = "8"
@@ -54,11 +55,19 @@ $config_ok:
$ if f$search("awkgram.c").nes."" then goto awkgram_ok
$ write sys$output " You must process `awkgram.y' with ""yacc"" or ""bison"""
$ if f$search("awkgram_tab.c").nes."" then - !bison was run manually
- write sys$output " or else rename `awkgram_tab.c' to `awkgramtab.c'."
+ write sys$output " or else rename `awkgram_tab.c' to `awkgram.c'."
$ if f$search("ytab.c").nes."" .or. f$search("y_tab.c").nes."" then - !yacc
- write sys$output " or else rename `ytab.c' or `y_tab.c' to `awkgramtab.c'."
+ write sys$output " or else rename `ytab.c' or `y_tab.c' to `awkgram.c'."
$ exit
$awkgram_ok:
+$ if f$search("command.c").nes."" then goto command_ok
+$ write sys$output " You must process `command.y' with ""yacc"" or ""bison"""
+$ if f$search("command_tab.c").nes."" then - !bison was run manually
+ write sys$output " or else rename `command_tab.c' to `command.c'."
+$ if f$search("ytab.c").nes."" .or. f$search("y_tab.c").nes."" then - !yacc
+ write sys$output " or else rename `ytab.c' or `y_tab.c' to `command.c'."
+$ exit
+$command_ok:
$ v = f$verify(1)
$ cc array.c
$ cc awkgram.c
@@ -81,8 +90,11 @@ $ cc replace.c
$ cc version.c
$ cc eval.c
$ cc eval_p.c
+$ cc eval_d.c
$ cc profile.c
$ cc profile_p.c
+$ cc command.c
+$ cc debug.c
$ cc [.vms]vms_misc.c
$ cc [.vms]vms_popen.c
$ cc [.vms]vms_fwrite.c
@@ -123,8 +135,25 @@ $ write Fopt libs
$ write Fopt "identification=""V''REL'.''PATCHLVL'"""
$ close Fopt
$!
+$ create dgawk.opt
+! DGAWK -- GNU awk w/ debugging
+array.obj,awkgram.obj,builtin.obj,dfa.obj,ext.obj,field.obj,floatcomp.obj
+gawkmisc.obj,getopt.obj,getopt1.obj,io.obj,main.obj,msg.obj,node.obj
+random.obj,re.obj,regex.obj,replace.obj,version.obj
+eval_d.obj,profile.obj,command.obj,debug.obj
+[]vms_misc.obj,vms_popen.obj,vms_fwrite.obj,vms_args.obj
+[]vms_gawk.obj,vms_cli.obj,gawk_cmd.obj
+psect_attr=environ,noshr !extern [noshare] char **
+stack=48 !preallocate more pages (default is 20)
+iosegment=128 !ditto (default is 32)
+$ open/append Fopt dgawk.opt
+$ write Fopt libs
+$ write Fopt "identification=""V''REL'.''PATCHLVL'"""
+$ close Fopt
+$!
$ v = f$verify(1)
$ link/exe=gawk.exe gawk.opt/options
$ link/exe=pgawk.exe pgawk.opt/options
+$ link/exe=dgawk.exe dgawk.opt/options
$! 'f$verify(v)'
$ exit