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 NAME=pdp
|
||||||
var LIB=lib/{M}/tail_
|
var LIB=lib/{M}/tail_
|
||||||
var RT=lib/{M}/head_
|
var RT=lib/{M}/head_
|
||||||
var CPP_F=-Dunix
|
var CPP_F=-Dunix=unix
|
||||||
var INCLUDES=-I{EM}/include -I/usr/include
|
var INCLUDES=-I{EM}/include/_tail_cc
|
||||||
name be
|
name be
|
||||||
from .m.g
|
from .m.g
|
||||||
to .s
|
to .s
|
||||||
|
@ -19,8 +19,17 @@ name be
|
||||||
stdout
|
stdout
|
||||||
need .e
|
need .e
|
||||||
end
|
end
|
||||||
name as
|
name asopt
|
||||||
from .s
|
from .s
|
||||||
|
to .so
|
||||||
|
program {EM}/lib/{M}/top
|
||||||
|
args
|
||||||
|
optimizer
|
||||||
|
stdin
|
||||||
|
stdout
|
||||||
|
end
|
||||||
|
name as
|
||||||
|
from .s.so
|
||||||
to .o
|
to .o
|
||||||
program /bin/as
|
program /bin/as
|
||||||
args - -o > <
|
args - -o > <
|
||||||
|
@ -37,6 +46,6 @@ name ld
|
||||||
(.p:{TAIL}={EM}/{LIB}pc) \
|
(.p:{TAIL}={EM}/{LIB}pc) \
|
||||||
(.b:{TAIL}={EM}/{LIB}bc) \
|
(.b:{TAIL}={EM}/{LIB}bc) \
|
||||||
(.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \
|
(.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
|
linker
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue