Added asopt
This commit is contained in:
parent
59a5eb4591
commit
694f7dfee4
1 changed files with 13 additions and 4 deletions
|
@ -9,8 +9,8 @@ var M=pdp
|
|||
var NAME=pdp
|
||||
var LIB=lib/{M}/tail_
|
||||
var RT=lib/{M}/head_
|
||||
var CPP_F=-Dunix
|
||||
var INCLUDES=-I{EM}/include -I/usr/include
|
||||
var CPP_F=-Dunix=unix
|
||||
var INCLUDES=-I{EM}/include/_tail_cc
|
||||
name be
|
||||
from .m.g
|
||||
to .s
|
||||
|
@ -19,8 +19,17 @@ name be
|
|||
stdout
|
||||
need .e
|
||||
end
|
||||
name as
|
||||
name asopt
|
||||
from .s
|
||||
to .so
|
||||
program {EM}/lib/{M}/top
|
||||
args
|
||||
optimizer
|
||||
stdin
|
||||
stdout
|
||||
end
|
||||
name as
|
||||
from .s.so
|
||||
to .o
|
||||
program /bin/as
|
||||
args - -o > <
|
||||
|
@ -37,6 +46,6 @@ name ld
|
|||
(.p:{TAIL}={EM}/{LIB}pc) \
|
||||
(.b:{TAIL}={EM}/{LIB}bc) \
|
||||
(.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \
|
||||
(.e:{TAIL}={EM}/{LIB}em) (.b.c.p:{TAIL}=/lib/libc.a)
|
||||
(.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon)
|
||||
linker
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue