rewritten, untested
This commit is contained in:
parent
eee7810fc9
commit
f6570d6010
1 changed files with 52 additions and 23 deletions
|
@ -27,7 +27,7 @@ $ write sys$output "psect attributes."
|
|||
$!
|
||||
$ C_DEFS :="""VMS"""
|
||||
$! C_DEFS :="""VMS""","""const="""
|
||||
$ C_INCLUDES :=/include=([],[.config],[-.include])
|
||||
$ C_INCLUDES :=/include=([],[.config],[-.include],[-.include.aout])
|
||||
$ C_FLAGS := /debug 'c_includes'
|
||||
$!
|
||||
$!
|
||||
|
@ -45,41 +45,70 @@ $ opcode_dir = aout_dev+f$parse(flnm,,,"DIRECTORY")' -
|
|||
- "GAS]" + "INCLUDE.OPCODE.]" - "]["
|
||||
$assign 'opcode_dir' opcode/tran=conc
|
||||
$!
|
||||
$ gcc 'c_flags'/define=('C_DEFS') as.c
|
||||
$ gcc 'c_flags'/define=("error=as_fatal",'C_DEFS') xmalloc.c
|
||||
$ gcc 'c_flags'/define=("error=as_fatal",'C_DEFS') hash.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') [-.libiberty]obstack.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') hex-value.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') messages.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') atof-generic.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') expr.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') cond.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') targ-cpu.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') obj-format.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') atof-targ.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') app.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') as.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') atof-generic.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') bignum-copy.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') cond.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') expr.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') flonum-konst.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') flonum-copy.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') flonum-mult.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') frags.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') hash.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') hex-value.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') input-file.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') input-scrub.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') literal.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') messages.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') output-file.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') read.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') subsegs.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') symbols.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') write.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') version.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') flonum-konst.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') flonum-copy.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') flonum-mult.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') bignum-copy.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') listing.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') atof-targ.c
|
||||
$ gcc 'c_flags'/define=("error=as_fatal",'C_DEFS') targ-cpu.c
|
||||
$ gcc 'c_flags'/define=("error=as_fatal",'C_DEFS') obj-format.c
|
||||
$ Link:
|
||||
$ gcc 'c_flags'/define=('C_DEFS') ecoff.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') stabs.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') xmalloc.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') [-.libiberty]obstack.c
|
||||
$ gcc 'c_flags'/define=('C_DEFS') [-.libiberty]strdup.c
|
||||
$if f$search("obstack.obj").eqs."" then copy [-.libiberty]obstack.obj *.*
|
||||
$if f$search("strdup.obj").eqs."" then copy [-.libiberty]strdup.obj *.*
|
||||
$ link/nomap/exec=gcc-as version.opt/opt+sys$input:/opt
|
||||
!
|
||||
! Linker options file for GNU assembler
|
||||
!
|
||||
as,xmalloc,hash,hex-value,atof-generic,messages,expr,app,cond,-
|
||||
frags,input-file,input-scrub,output-file,read,subsegs,symbols,write,-
|
||||
version,flonum-konst,flonum-copy,flonum-mult,bignum-copy,listing,-
|
||||
obstack,targ-cpu,atof-targ,obj-format,-
|
||||
targ-cpu.o,-
|
||||
obj-format.o,-
|
||||
atof-targ.o,-
|
||||
app.o,-
|
||||
as.o,-
|
||||
atof-generic.o,-
|
||||
bignum-copy.o,-
|
||||
cond.o,-
|
||||
expr.o,-
|
||||
flonum-konst.o,-
|
||||
flonum-copy.o,-
|
||||
flonum-mult.o,-
|
||||
frags.o,-
|
||||
hash.o,-
|
||||
hex-value.o,-
|
||||
input-file.o,-
|
||||
input-scrub.o,-
|
||||
literal.o,-
|
||||
messages.o,-
|
||||
output-file.o,-
|
||||
read.o,-
|
||||
subsegs.o,-
|
||||
symbols.o,-
|
||||
write.o,-
|
||||
listing.o,-
|
||||
ecoff.o,-
|
||||
stabs.o,-
|
||||
xmalloc.o,-
|
||||
obstack.o,-
|
||||
strdup.o,-
|
||||
gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
|
||||
|
|
Loading…
Reference in a new issue