diff options
Diffstat (limited to 'gas/config-gas.com')
-rw-r--r-- | gas/config-gas.com | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config-gas.com b/gas/config-gas.com index 06bba35..7ad1a0a 100644 --- a/gas/config-gas.com +++ b/gas/config-gas.com @@ -41,14 +41,16 @@ $line=f$extract(ijk,f$length(line)-ijk,line) $ijk=f$locate("\n",line) $line=f$extract(0,ijk,line) $! +$ if f$search("version.opt").nes."" then delete/noconfirm version.opt;* $open ifile$ version.opt/write $write ifile$ "ident="+""""+line+"""" $close ifile$ $! Now write config.h. +$ if f$search("config.h").nes."" then delete/noconfirm config.h;* $open ifile$ config.h/write $write ifile$ "#define TARGET_CPU """,cpu_type,""" $write ifile$ "#define TARGET_ALIAS ""vms""" -$write ifile$ "#define TARGET_CANONICAL ""vax-dec-vms"""" +$write ifile$ "#define TARGET_CANONICAL ""vax-dec-vms""" $write ifile$ "#define GAS_VERSION """,line,"""" $close ifile$ $! |