diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 12:09:58 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 12:09:58 +0300 |
commit | cae8bc6ced84c12590e3554a06a952283735363a (patch) | |
tree | ca4f38bfcb1312bfb62fc693564d68f3e9b3e973 /vms/vmsbuild.com | |
parent | dbd583bd2b8a6dd40c622875a4e197360cb5aba7 (diff) | |
download | egawk-cae8bc6ced84c12590e3554a06a952283735363a.tar.gz egawk-cae8bc6ced84c12590e3554a06a952283735363a.tar.bz2 egawk-cae8bc6ced84c12590e3554a06a952283735363a.zip |
Move to 2.14.
Diffstat (limited to 'vms/vmsbuild.com')
-rw-r--r-- | vms/vmsbuild.com | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/vms/vmsbuild.com b/vms/vmsbuild.com index e823eb1b..069a4ca8 100644 --- a/vms/vmsbuild.com +++ b/vms/vmsbuild.com @@ -1,34 +1,40 @@ $! vmsbuild.com -- Commands to build GAWK Pat Rankin, Dec'89 $! revised, Mar'90 $! gawk 2.13 revised, Jun'91 +$! gawk 2.14 revised, Sep'92 $! -$ REL = "2.13" !release version number -$ PATCHLVL = "2" +$ REL = "2.14" !release version number +$ PATCHLVL = "0" $! -$! [ remove "/optimize=noinline" for VAX C V2.x ] +$! [ remove "/optimize=noinline" for VAX C V2.x or DEC C ] +$! [ add "/standard=VAXC" for DEC C and "/g_float" for Alpha ] $ if f$type(cc) .nes."STRING" then cc := cc/nolist/optimize=noinline $ if f$type(link).nes."STRING" then link := link/nomap +$ if f$type(set_command).nes."STRING" then set_command := set command $! -$ cc := 'cc'/include=[] +$ cc := 'cc'/Include=[]/Define="""GAWK""" $ libs = "sys$share:vaxcrtl.exe/Shareable" $ +$! uncomment for DEC C +$ ! libs = "" +$ $! uncomment the next two lines for VAX C V2.x $ ! define vaxc$library sys$library:,sys$disk:[.vms] $ ! define c$library [],[.vms] $! $! uncomment next two lines for GNU C -$ ! cc := gcc/include=([],[.vms]) !use GNU C rather than VAX C +$ ! cc := gcc/Include=([],[.vms])/Define="""GAWK""" !use GNU C rather than VAX C $ ! libs = "gnu_cc:[000000]gcclib.olb/Library,sys$library:vaxcrtl.olb/Library" $! -$ if f$search("config.h") .eqs."" then copy [.config]vms-conf.h []config.h -$ if f$search("awk_tab.c").nes."" then goto awk_tab_ok +$ if f$search("config.h").eqs."" then copy [.config]vms-conf.h []config.h +$ if f$search("awktab.c").nes."" then goto awktab_ok $ write sys$output " You must process `awk.y' with ""yacc"" or ""bison""" -$ if f$search("awk.tab_c").nes."" then - !unpacked with poor 'tar' reader - write sys$output " or else rename `awk.tab_c' to `awk_tab.c'." -$ if f$search("y_tab.c").nes."" then - !yacc was run manually - write sys$output " or else rename `y_tab.c' to `awk_tab.c'." +$ if f$search("awk_tab.c").nes."" then - !bison was run manually + write sys$output " or else rename `awk_tab.c' to `awktab.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 `awktab.c'." $ exit -$awk_tab_ok: +$awktab_ok: $ cc main.c $ cc eval.c $ cc builtin.c @@ -40,9 +46,10 @@ $ cc array.c $ cc node.c $ cc version.c $ cc missing.c -$ cc awk_tab.c -$ cc regex.c $ cc re.c +$ cc getopt.c +$ cc awktab.c +$ cc regex.c $ cc dfa.c $ cc/define=("STACK_DIRECTION=(-1)","exit=vms_exit") alloca $ cc [.vms]vms_misc.c @@ -51,17 +58,18 @@ $ cc [.vms]vms_fwrite.c $ cc [.vms]vms_args.c $ cc [.vms]vms_gawk.c $ cc [.vms]vms_cli.c -$ set command/object=[]gawk_cmd.obj [.vms]gawk.cld +$ set_command/object=[]gawk_cmd.obj [.vms]gawk.cld $! $ create gawk.opt ! GAWK -- Gnu AWK main.obj,eval.obj,builtin.obj,msg.obj,iop.obj,io.obj -field.obj,array.obj,node.obj,version.obj,missing.obj,awk_tab.obj -regex.obj,re.obj,dfa.obj,[]alloca.obj +field.obj,array.obj,node.obj,version.obj,missing.obj +re.obj,getopt.obj,awktab.obj,regex.obj,dfa.obj,[]alloca.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=50 !preallocate more pages (default is 20) +stack=48 !preallocate more pages (default is 20) +iosegment=128 !ditto (default is 32) $ open/append Fopt gawk.opt $ write Fopt libs $ write Fopt "identification=""V''REL'.''PATCHLVL'""" |