Added -ansi flag

This commit is contained in:
ceriel 1990-11-22 13:18:47 +00:00
parent aaa75da7da
commit 46f1738ad4
22 changed files with 192 additions and 71 deletions

View file

@ -9,7 +9,9 @@ var NAME=m6500
var M=6500 var M=6500
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var INCLUDES=-I{EM}/include/_tail_cc -I{EM}/include/_tail_mon var INCLUDES=-I{EM}/include/_tail_mon
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
name be name be
from .m.g from .m.g
to .s to .s
@ -25,8 +27,11 @@ name asld
program {EM}/lib/{M}/as program {EM}/lib/{M}/as
mapflag -l* LNAME={EM}/{LIB}* mapflag -l* LNAME={EM}/{LIB}*
mapflag -i IFILE={EM}/{RT}i mapflag -i IFILE={EM}/{RT}i
mapflag -ansi C_LIB={EM}/{LIB}ac
args {IFILE?} (.e:{HEAD}={EM}/{RT}em) \ args {IFILE?} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -34,7 +39,8 @@ name asld
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
(.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}mon) \ (.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}mon) \
(.e:{TAIL}={EM}/{LIB}em {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/lib/{M}/end_em)
linker linker

View file

@ -9,7 +9,9 @@ var NAME=arm
var M=arm var M=arm
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var INCLUDES=-I{EM}/include/_tail_cc -I{EM}/include/_tail_mon var INCLUDES=-I{EM}/include/_tail_mon
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
name be name be
from .m.g from .m.g
to .s to .s
@ -33,8 +35,11 @@ name asld
outfile a.out outfile a.out
program {EM}/lib/{M}/as program {EM}/lib/{M}/as
mapflag -l* LNAME={EM}/{LIB}* mapflag -l* LNAME={EM}/{LIB}*
mapflag -ansi C_LIB={EM}/{LIB}ac
args (.e:{HEAD}={EM}/{RT}em) \ args (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -42,7 +47,8 @@ name asld
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
(.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}mon) \ (.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}mon) \
(.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}fp) \ (.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}fp) \
(.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}ros {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}ros {EM}/lib/{M}/end_em)

View file

@ -11,7 +11,9 @@ var LIB=lib/em22/tail_
var RT=lib/em22/head_ var RT=lib/em22/head_
var SIZE_FLAG= var SIZE_FLAG=
var CPP_F=-Dunix var CPP_F=-Dunix
var INCLUDES=-I{EM}/include/_tail_cc -I{EM}/include/_tail_mon var INCLUDES=-I{EM}/include/_tail_mon
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
name asld name asld
from .k.m.a.g from .k.m.a.g
to .out to .out
@ -21,8 +23,11 @@ name asld
mapflag -+* ASS_F={ASS_F?} -+* mapflag -+* ASS_F={ASS_F?} -+*
mapflag --* ASS_F={ASS_F?} --* mapflag --* ASS_F={ASS_F?} --*
mapflag -s* SIZE_FLAG=-s* mapflag -s* SIZE_FLAG=-s*
mapflag -ansi C_LIB={EM}/{LIB}ac
args {SIZE_FLAG} \ args {SIZE_FLAG} \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
-o > < \ -o > < \
@ -30,7 +35,8 @@ name asld
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
(.b.c.ocm.mod.p.e:{TAIL}={EM}/{LIB}mon) (.b.c.ocm.mod.p.e:{TAIL}={EM}/{LIB}mon)
linker linker
end end

View file

@ -11,7 +11,9 @@ var LIB=lib/em24/tail_
var RT=lib/em24/head_ var RT=lib/em24/head_
var SIZE_FLAG= var SIZE_FLAG=
var CPP_F=-Dunix var CPP_F=-Dunix
var INCLUDES=-I{EM}/include/_tail_cc -I{EM}/include/_tail_mon var INCLUDES=-I{EM}/include/_tail_mon
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
name asld name asld
from .k.m.a.g from .k.m.a.g
to .out to .out
@ -21,8 +23,11 @@ name asld
mapflag -+* ASS_F={ASS_F?} -+* mapflag -+* ASS_F={ASS_F?} -+*
mapflag --* ASS_F={ASS_F?} --* mapflag --* ASS_F={ASS_F?} --*
mapflag -s* SIZE_FLAG=-s* mapflag -s* SIZE_FLAG=-s*
mapflag -ansi C_LIB={EM}/{LIB}ac
args {SIZE_FLAG} \ args {SIZE_FLAG} \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
-o > < \ -o > < \
@ -30,7 +35,8 @@ name asld
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
(.p.b.mod.ocm.c.e:{TAIL}={EM}/{LIB}mon) (.p.b.mod.ocm.c.e:{TAIL}={EM}/{LIB}mon)
linker linker
end end

View file

@ -11,7 +11,9 @@ var LIB=lib/em44/tail_
var RT=lib/em44/head_ var RT=lib/em44/head_
var SIZE_FLAG= var SIZE_FLAG=
var CPP_F=-Dunix var CPP_F=-Dunix
var INCLUDES=-I{EM}/include/_tail_cc -I{EM}/include/_tail_mon var INCLUDES=-I{EM}/include/_tail_mon
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
name asld name asld
from .k.m.a.g from .k.m.a.g
to .out to .out
@ -21,8 +23,11 @@ name asld
mapflag -+* ASS_F={ASS_F?} -+* mapflag -+* ASS_F={ASS_F?} -+*
mapflag --* ASS_F={ASS_F?} --* mapflag --* ASS_F={ASS_F?} --*
mapflag -s* SIZE_FLAG=-s* mapflag -s* SIZE_FLAG=-s*
mapflag -ansi C_LIB={EM}/{LIB}ac
args {SIZE_FLAG} \ args {SIZE_FLAG} \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
-o > < \ -o > < \
@ -30,7 +35,8 @@ name asld
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
(.p.b.ocm.mod.c.e:{TAIL}={EM}/{LIB}mon) (.p.b.ocm.mod.c.e:{TAIL}={EM}/{LIB}mon)
linker linker
end end

View file

@ -10,8 +10,9 @@ var M=i386
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var CPP_F=-Dunix -D__USG var CPP_F=-Dunix -D__USG
var INCLUDES=-I{EM}/include/_tail_cc
var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 -b1:0x1880000 var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 -b1:0x1880000
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
name be name be
from .m.g from .m.g
to .s to .s
@ -33,8 +34,11 @@ name led
program {EM}/lib/em_led program {EM}/lib/em_led
mapflag -l* LNAME={EM}/{LIB}* mapflag -l* LNAME={EM}/{LIB}*
mapflag -fp FLOATS={EM}/{LIB}fp mapflag -fp FLOATS={EM}/{LIB}fp
mapflag -ansi C_LIB={EM}/{LIB}ac
args {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \ args {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
-o > < \ -o > < \
@ -42,7 +46,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{FLOATS?} \ {FLOATS?} \
(.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em)
linker linker

View file

@ -10,7 +10,9 @@ var M=i80
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var CPP_F= var CPP_F=
var INCLUDES=-I{EM}/include/_tail_cc -I{EM}/include/_tail_mon var INCLUDES=-I{EM}/include/_tail_mon
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2 var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2
name be name be
from .m.g from .m.g
@ -32,8 +34,11 @@ name led
to .out to .out
program {EM}/lib/em_led program {EM}/lib/em_led
mapflag -l* LNAME={EM}/{LIB}* mapflag -l* LNAME={EM}/{LIB}*
mapflag -ansi C_LIB={EM}/{LIB}ac
args -b0:0x1000 {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \ args -b0:0x1000 {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -41,8 +46,9 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.ocm.b.c.p:{TAIL}={EM}/{LIB}mon) \ (.c:{TAIL}={C_LIB}) \
(.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}mon) \
(.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}sys {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}sys {EM}/lib/{M}/end_em)
linker linker
end end

View file

@ -10,8 +10,9 @@ var M=i86
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var CPP_F=-Dunix -D__USG var CPP_F=-Dunix -D__USG
var INCLUDES=-I{EM}/include/_tail_cc
var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2 var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
name be name be
from .m.g from .m.g
to .s to .s
@ -34,8 +35,11 @@ name led
mapflag -l* LNAME={EM}/{LIB}* mapflag -l* LNAME={EM}/{LIB}*
mapflag -i SEPID=-b1:0 mapflag -i SEPID=-b1:0
mapflag -fp FLOATS={EM}/{ILIB}fp mapflag -fp FLOATS={EM}/{ILIB}fp
mapflag -ansi C_LIB={EM}/{LIB}ac
args {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \ args {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
-o > < \ -o > < \
@ -43,7 +47,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{FLOATS?} \ {FLOATS?} \
(.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em)
linker linker

View file

@ -10,7 +10,8 @@ var M=m68020
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var CPP_F=-Dunix -D__USG var CPP_F=-Dunix -D__USG
var INCLUDES=-I{EM}/include/_tail_cc var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
# 410 align is the default # 410 align is the default
var ALIGN=-a0:4 -a1:4 -a2:0x10000 -a3:4 var ALIGN=-a0:4 -a1:4 -a2:0x10000 -a3:4
name be name be
@ -43,8 +44,11 @@ name led
program {EM}/lib/em_led program {EM}/lib/em_led
mapflag -l* LNAME={EM}/{LIB}* mapflag -l* LNAME={EM}/{LIB}*
mapflag -fp LIBFP={EM}/{LIB}fp mapflag -fp LIBFP={EM}/{LIB}fp
mapflag -ansi C_LIB={EM}/{LIB}ac
args {ALIGN} (.e:{HEAD}= {EM}/{RT}em) \ args {ALIGN} (.e:{HEAD}= {EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -52,7 +56,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{LIBFP?} \ {LIBFP?} \
(.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em)
linker linker

View file

@ -10,7 +10,8 @@ var M=m68k2
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var CPP_F=-Dunix -Dm68000 var CPP_F=-Dunix -Dm68000
var INCLUDES=-I{EM}/include/_tail_cc var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
# 407 align is the default # 407 align is the default
var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4
name be name be
@ -46,8 +47,11 @@ name led
mapflag -n ALIGN=-a0:4 -a1:4 -a2:0x8000 -a3:4 mapflag -n ALIGN=-a0:4 -a1:4 -a2:0x8000 -a3:4
mapflag -nr ALIGN=-a0:4 -a1:0x8000 -a2:4 -a3:4 mapflag -nr ALIGN=-a0:4 -a1:0x8000 -a2:4 -a3:4
mapflag -fp LIBFP={EM}/{LIB}fp mapflag -fp LIBFP={EM}/{LIB}fp
mapflag -ansi C_LIB={EM}/{LIB}ac
args -b0:0x20000 {ALIGN} (.e:{HEAD}={EM}/{RT}em) \ args -b0:0x20000 {ALIGN} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -55,7 +59,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{LIBFP?} \ {LIBFP?} \
(.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em)
linker linker

View file

@ -10,7 +10,8 @@ var M=m68k4
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var CPP_F=-Dunix -Dm68000 var CPP_F=-Dunix -Dm68000
var INCLUDES=-I{EM}/include/_tail_cc var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
# 407 align is the default # 407 align is the default
var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4
name be name be
@ -46,8 +47,11 @@ name led
mapflag -n ALIGN=-a0:4 -a1:4 -a2:0x8000 -a3:4 mapflag -n ALIGN=-a0:4 -a1:4 -a2:0x8000 -a3:4
mapflag -nr ALIGN=-a0:4 -a1:0x8000 -a2:4 -a3:4 mapflag -nr ALIGN=-a0:4 -a1:0x8000 -a2:4 -a3:4
mapflag -fp LIBFP={EM}/{LIB}fp mapflag -fp LIBFP={EM}/{LIB}fp
mapflag -ansi C_LIB={EM}/{LIB}ac
args -b0:0x20000 {ALIGN} (.e:{HEAD}={EM}/{RT}em) \ args -b0:0x20000 {ALIGN} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -55,7 +59,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{LIBFP?} \ {LIBFP?} \
(.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em)
linker linker

View file

@ -12,7 +12,8 @@ var RT=lib/{M}/head_
var NLIB=lib/mantra/tail_ var NLIB=lib/mantra/tail_
var NRT=lib/mantra/head_ var NRT=lib/mantra/head_
var CPP_F=-Dunix -D__USG -Dmc68000 var CPP_F=-Dunix -D__USG -Dmc68000
var INCLUDES=-I{EM}/include/_tail_cc var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
# 407 align is the default # 407 align is the default
var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4
name be name be
@ -48,8 +49,11 @@ name led
mapflag -n ALIGN=-a0:4 -a1:4 -a2:0x8000 -a3:4 mapflag -n ALIGN=-a0:4 -a1:4 -a2:0x8000 -a3:4
mapflag -nr ALIGN=-a0:4 -a1:0x8000 -a2:4 -a3:4 mapflag -nr ALIGN=-a0:4 -a1:0x8000 -a2:4 -a3:4
mapflag -fp LIBFP={EM}/{LIB}fp mapflag -fp LIBFP={EM}/{LIB}fp
mapflag -ansi C_LIB={EM}/{LIB}ac
args -b0:0x80000 {ALIGN} (.e:{HEAD}={EM}/{NRT}em) \ args -b0:0x80000 {ALIGN} (.e:{HEAD}={EM}/{NRT}em) \
({RTS}:.ocm.b.c={EM}/{NRT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.mod={EM}/{NRT}m2) \ ({RTS}:.mod={EM}/{NRT}m2) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
-o > < \ -o > < \
@ -57,7 +61,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.mod:{TAIL}={EM}/{NLIB}m2) \ (.mod:{TAIL}={EM}/{NLIB}m2) \
(.ocm:{TAIL}={EM}/{NLIB}ocm) \ (.ocm:{TAIL}={EM}/{NLIB}ocm) \
(.ocm.b.c:{TAIL}={EM}/{NLIB}cc.1s {EM}/{NLIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{LIBFP?} \ {LIBFP?} \
(.e:{TAIL}={EM}/{LIB}em {EM}/{NLIB}mon {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/{NLIB}mon {EM}/lib/{M}/end_em)
linker linker

View file

@ -12,9 +12,11 @@ var RT=lib/{M}/head_
var MRT=lib/minix/head_ var MRT=lib/minix/head_
var MLIB=lib/minix/tail_ var MLIB=lib/minix/tail_
var CPP_F=-Dunix -DACK -Di8088 var CPP_F=-Dunix -DACK -Di8088
var INCLUDES=-I{EM}/lib/minix/include -I{EM}/include/_tail_cc var INCLUDES=-I{EM}/lib/minix/include
var ALIGN=-a0:2 -a1:16 -a2:2 -a3:2 var ALIGN=-a0:2 -a1:16 -a2:2 -a3:2
var CC_ALIGN=-VS2U2 var CC_ALIGN=-VS2U2
var C_LIB={EM}/{MLIB}cc.1s {EM}/{MLIB}cc.2g
var OLD_C_LIB={C_LIB}
name be name be
from .m.g from .m.g
to .s to .s
@ -37,12 +39,18 @@ name led
mapflag -l* LNAME={EM}/{MLIB}* mapflag -l* LNAME={EM}/{MLIB}*
mapflag -i SEPID=-b1:0 mapflag -i SEPID=-b1:0
mapflag -fp LIBFP={EM}/{LIB}fp mapflag -fp LIBFP={EM}/{LIB}fp
args {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{MRT}em) \ mapflag -ansi C_LIB={EM}/{MLIB}ac
({RTS}:.ocm.b.c={EM}/{MRT}cc) ({RTS}:.p={EM}/{MRT}pc) -o > < \ args {ALIGN} {SEPID?} \
(.e:{HEAD}={EM}/{MRT}em) \
({RTS}:.ocm.b={EM}/{MRT}cc) \
({RTS}{ANSI?}:.c={EM}/{MRT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{MRT}ac) \
({RTS}:.p={EM}/{MRT}pc) -o > < \
(.p:{TAIL}={EM}/{MLIB}pc) \ (.p:{TAIL}={EM}/{MLIB}pc) \
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{MLIB}ocm) \ (.ocm:{TAIL}={EM}/{MLIB}ocm) \
(.ocm.b.c:{TAIL}={EM}/{MLIB}cc.1s {EM}/{MLIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{LIBFP?} \ {LIBFP?} \
(.e:{TAIL}={EM}/{MLIB}mon {EM}/lib/minix/end_em) (.e:{TAIL}={EM}/{MLIB}mon {EM}/lib/minix/end_em)
linker linker

View file

@ -12,8 +12,10 @@ var RT=lib/{M}/head_
var MRT=lib/minixST/head_ var MRT=lib/minixST/head_
var MLIB=lib/minixST/tail_ var MLIB=lib/minixST/tail_
var CPP_F=-Dunix -DATARI_ST -DACK var CPP_F=-Dunix -DATARI_ST -DACK
var INCLUDES=-I{EM}/lib/minixST/include -I{EM}/include/_tail_cc var INCLUDES=-I{EM}/lib/minixST/include
var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
name be name be
from .m.g from .m.g
to .s to .s
@ -36,8 +38,11 @@ name led
mapflag -l* LNAME={EM}/{LIB}* mapflag -l* LNAME={EM}/{LIB}*
# mapflag -i SEPID=-b1:0 # mapflag -i SEPID=-b1:0
mapflag -fp LIBFP={EM}/{LIB}fp mapflag -fp LIBFP={EM}/{LIB}fp
mapflag -ansi C_LIB={EM}/{LIB}ac
args {ALIGN} {SEPID?} -c (.e:{HEAD}={EM}/{MRT}em) \ args {ALIGN} {SEPID?} -c (.e:{HEAD}={EM}/{MRT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -45,9 +50,10 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{LIBFP?} \ {LIBFP?} \
(.e:{TAIL}={EM}/{MLIB}mon {EM}/lib/minixST/end_em) (.e:{TAIL}={EM}/{MLIB}mon {EM}/{LIB}em {EM}/lib/minixST/end_em)
linker linker
end end
name cv name cv

View file

@ -10,7 +10,8 @@ var NAME=NS
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
var INCLUDES=-I{EM}/include/_tail_cc var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2 var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2
name be name be
from .m.g from .m.g
@ -32,8 +33,11 @@ name led
to .out to .out
program {EM}/lib/em_led program {EM}/lib/em_led
mapflag -l* LNAME={EM}/{LIB}* mapflag -l* LNAME={EM}/{LIB}*
mapflag -ansi C_LIB={EM}/{LIB}ac
args {ALIGN} (.e:{HEAD}={EM}/{RT}em) \ args {ALIGN} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -41,7 +45,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
(.e:{TAIL}={EM}/{LIB}mon {EM}/{LIB}em {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}mon {EM}/{LIB}em {EM}/lib/{M}/end_em)
linker linker
end end

View file

@ -10,7 +10,8 @@ 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
var INCLUDES=-I{EM}/include/_tail_cc var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
var ALIGN=-a0:1 -a1:1 -a2:1 -a3:1 var ALIGN=-a0:1 -a1:1 -a2:1 -a3:1
name be name be
from .m.g from .m.g
@ -44,8 +45,11 @@ name led
mapflag -i SEPID=-b1:0 mapflag -i SEPID=-b1:0
mapflag -n ALIGN=-a0:1 -a1:0x2000 -a2:1 -a3:1 mapflag -n ALIGN=-a0:1 -a1:0x2000 -a2:1 -a3:1
mapflag -nr ALIGN=-a0:1 -a1:1 -a2:0x2000 -a3:1 mapflag -nr ALIGN=-a0:1 -a1:1 -a2:0x2000 -a3:1
mapflag -ansi C_LIB={EM}/{LIB}ac
args {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \ args {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
-o > < \ -o > < \
@ -53,7 +57,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
(.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}mon {EM}/lib/{M}/end_em)
linker linker
end end

View file

@ -9,7 +9,8 @@ var NAME=m68k2
var M=m68k2 var M=m68k2
var LIB=lib/m68k2/tail_ var LIB=lib/m68k2/tail_
var RT=lib/m68k2/head_ var RT=lib/m68k2/head_
var INCLUDES=-I{EM}/include/_tail_cc var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
var CPP_F=-Dunix -Dm68000 var CPP_F=-Dunix -Dm68000
# 407 align is the default # 407 align is the default
var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4
@ -46,8 +47,11 @@ name led
mapflag -n ALIGN=-a0:4 -a1:4 -a2:0x8000 -a3:4 mapflag -n ALIGN=-a0:4 -a1:4 -a2:0x8000 -a3:4
mapflag -nr ALIGN=-a0:4 -a1:0x8000 -a2:4 -a3:4 mapflag -nr ALIGN=-a0:4 -a1:0x8000 -a2:4 -a3:4
mapflag -fp LIBFP={EM}/{LIB}fp mapflag -fp LIBFP={EM}/{LIB}fp
mapflag -ansi C_LIB={EM}/{LIB}ac
args {ALIGN} (.e:{HEAD}={EM}/lib/pmds/head_em) \ args {ALIGN} (.e:{HEAD}={EM}/lib/pmds/head_em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -55,7 +59,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{LIBFP?} \ {LIBFP?} \
(.e:{TAIL}={EM}/{LIB}em {EM}/lib/pmds/tail_mon {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/lib/pmds/tail_mon {EM}/lib/{M}/end_em)
linker linker

View file

@ -9,8 +9,9 @@ var NAME=m68k4
var M=m68k4 var M=m68k4
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var INCLUDES=-I{EM}/include/_tail_cc
var CPP_F=-Dunix -Dm68000 var CPP_F=-Dunix -Dm68000
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
# 407 align is default # 407 align is default
var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4
name be name be
@ -46,8 +47,11 @@ name led
mapflag -n ALIGN=-a0:4 -a1:4 -a2:0x8000 -a3:4 mapflag -n ALIGN=-a0:4 -a1:4 -a2:0x8000 -a3:4
mapflag -nr ALIGN=-a0:4 -a1:0x8000 -a2:4 -a3:4 mapflag -nr ALIGN=-a0:4 -a1:0x8000 -a2:4 -a3:4
mapflag -fp LIBFP={EM}/{LIB}fp mapflag -fp LIBFP={EM}/{LIB}fp
mapflag -ansi C_LIB={EM}/{LIB}ac
args {ALIGN} (.e:{HEAD}={EM}/lib/pmds4/head_em) \ args {ALIGN} (.e:{HEAD}={EM}/lib/pmds4/head_em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -55,7 +59,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{LIBFP?} \ {LIBFP?} \
(.e:{TAIL}={EM}/{LIB}em {EM}/lib/pmds4/tail_mon {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/lib/pmds4/tail_mon {EM}/lib/{M}/end_em)
linker linker

View file

@ -8,14 +8,14 @@ var d=8
var NAME=sun var NAME=sun
var M=m68k4 var M=m68k4
var P=sun2 var P=sun2
# I am not sure about the next line. It is the sun3 one. var CC_ALIGN=-Vw{w}.1
var CC_ALIGN=-Vw{w}.{s}i{w}.{s}p{p}.{s}s{s}.{s}l{l}.{s}f{f}.{w}d{d}.{w}S{s}U{s}
var LIB=lib/{P}/tail_ var LIB=lib/{P}/tail_
var RT=lib/{P}/head_ var RT=lib/{P}/head_
var PLIB=lib/{M}/tail_ var PLIB=lib/{M}/tail_
var PRT=lib/{M}/head_ var PRT=lib/{M}/head_
var CPP_F=-Dunix -Dm68k -DM68010 -Dmc68010 -D__BSD4_2 var CPP_F=-Dunix -Dm68k -DM68010 -Dmc68010 -D__BSD4_2
var INCLUDES=-I{EM}/include/_tail_cc var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
# 413 align is the default, rom in text # 413 align is the default, rom in text
var ALIGN=-a0:4 -a1:4 -a2:0x20000 -a3:4 -b0:0x2020 var ALIGN=-a0:4 -a1:4 -a2:0x20000 -a3:4 -b0:0x2020
name be name be
@ -52,8 +52,11 @@ name led
mapflag -N ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 -b0:0x2000 mapflag -N ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 -b0:0x2000
mapflag -r ALIGN=-a0:4 -a1:0x20000 -a2:4 -a3:4 -b0:0x2020 mapflag -r ALIGN=-a0:4 -a1:0x20000 -a2:4 -a3:4 -b0:0x2020
mapflag -fp LIBFP={EM}/{PLIB}fp mapflag -fp LIBFP={EM}/{PLIB}fp
mapflag -ansi C_LIB={EM}/{LIB}ac
args {ALIGN} (.e:{HEAD}={EM}/{RT}em) \ args {ALIGN} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{PRT}pc) \ ({RTS}:.p={EM}/{PRT}pc) \
({RTS}:.mod={EM}/{PRT}m2) \ ({RTS}:.mod={EM}/{PRT}m2) \
-o > < \ -o > < \
@ -61,7 +64,8 @@ name led
(.b:{TAIL}={EM}/{PLIB}bc) \ (.b:{TAIL}={EM}/{PLIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{LIBFP?} \ {LIBFP?} \
(.e:{TAIL}={EM}/{PLIB}em {EM}/{LIB}mon {EM}/{PLIB}em {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{PLIB}em {EM}/{LIB}mon {EM}/{PLIB}em {EM}/lib/{M}/end_em)
linker linker

View file

@ -13,7 +13,8 @@ var ILIB=lib/i86/tail_
var RT=lib/{IM}/head_ var RT=lib/{IM}/head_
var IRT=lib/i86/head_ var IRT=lib/i86/head_
var CPP_F=-Dunix -D__USG var CPP_F=-Dunix -D__USG
var INCLUDES=-I{EM}/include/_tail_cc var C_LIB={EM}/{ILIB}cc.1s {EM}/{ILIB}cc.2g
var OLD_C_LIB={C_LIB}
var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2 var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2
name be name be
from .m.g from .m.g
@ -37,8 +38,11 @@ name led
mapflag -l* LNAME={EM}/{ILIB}* mapflag -l* LNAME={EM}/{ILIB}*
mapflag -i SEPID=-b1:0 mapflag -i SEPID=-b1:0
mapflag -fp FLOATS={EM}/{ILIB}fp mapflag -fp FLOATS={EM}/{ILIB}fp
mapflag -ansi C_LIB={EM}/{ILIB}ac
args {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \ args {ALIGN} {SEPID?} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{IRT}cc) \ ({RTS}:.ocm.b={EM}/{IRT}cc) \
({RTS}{ANSI?}:.c={EM}/{IRT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{IRT}ac) \
({RTS}:.p={EM}/{IRT}pc) \ ({RTS}:.p={EM}/{IRT}pc) \
({RTS}:.mod={EM}/{IRT}m2) \ ({RTS}:.mod={EM}/{IRT}m2) \
-o > < \ -o > < \
@ -46,7 +50,8 @@ name led
(.b:{TAIL}={EM}/{ILIB}bc) \ (.b:{TAIL}={EM}/{ILIB}bc) \
(.mod:{TAIL}={EM}/{ILIB}m2) \ (.mod:{TAIL}={EM}/{ILIB}m2) \
(.ocm:{TAIL}={EM}/{ILIB}ocm) \ (.ocm:{TAIL}={EM}/{ILIB}ocm) \
(.ocm.b.c:{TAIL}={EM}/{ILIB}cc.1s {EM}/{ILIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
{FLOATS?} \ {FLOATS?} \
(.e:{TAIL}={EM}/{ILIB}em {EM}/{LIB}mon {EM}/lib/i86/end_em) (.e:{TAIL}={EM}/{ILIB}em {EM}/{LIB}mon {EM}/lib/i86/end_em)
linker linker

View file

@ -9,7 +9,9 @@ var NAME=z80
var M=z80 var M=z80
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var INCLUDES=-I{EM}/include/_tail_cc -I{EM}/include/_tail_mon var INCLUDES=-I{EM}/include/_tail_mon
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
name be name be
from .m.g from .m.g
to .s to .s
@ -31,8 +33,11 @@ name led
outfile a.out outfile a.out
program {EM}/lib/em_led program {EM}/lib/em_led
mapflag -l* LNAME={EM}/{LIB}* mapflag -l* LNAME={EM}/{LIB}*
mapflag -ansi C_LIB={EM}/{LIB}ac
args -b0:0x1000 ( .e:{HEAD}={EM}/{RT}em) \ args -b0:0x1000 ( .e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -40,7 +45,8 @@ name led
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
(.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}mon) \ (.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}mon) \
(.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}sys {EM}/lib/{M}/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/{LIB}sys {EM}/lib/{M}/end_em)
linker linker

View file

@ -9,7 +9,9 @@ var NAME=z8000
var M=z8000 var M=z8000
var LIB=lib/{M}/tail_ var LIB=lib/{M}/tail_
var RT=lib/{M}/head_ var RT=lib/{M}/head_
var INCLUDES=-I{EM}/include/_tail_cc -I{EM}/include/_tail_mon var INCLUDES=-I{EM}/include/_tail_mon
var C_LIB={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g
var OLD_C_LIB={C_LIB}
name be name be
from .m.g from .m.g
to .s to .s
@ -25,8 +27,11 @@ name asld
program {EM}/lib/{M}/as program {EM}/lib/{M}/as
mapflag -l* LNAME={EM}/{LIB}* mapflag -l* LNAME={EM}/{LIB}*
mapflag -i IFILE={EM}/{RT}i mapflag -i IFILE={EM}/{RT}i
mapflag -ansi C_LIB={EM}/{LIB}ac
args {IFILE?} (.e:{HEAD}={EM}/{RT}em) \ args {IFILE?} (.e:{HEAD}={EM}/{RT}em) \
({RTS}:.ocm.b.c={EM}/{RT}cc) \ ({RTS}:.ocm.b={EM}/{RT}cc) \
({RTS}{ANSI?}:.c={EM}/{RT}cc) \
({RTS}{ANSI?}:.cansi={EM}/{RT}ac) \
({RTS}:.p={EM}/{RT}pc) \ ({RTS}:.p={EM}/{RT}pc) \
({RTS}:.mod={EM}/{RT}m2) \ ({RTS}:.mod={EM}/{RT}m2) \
-o > < \ -o > < \
@ -34,7 +39,8 @@ name asld
(.b:{TAIL}={EM}/{LIB}bc) \ (.b:{TAIL}={EM}/{LIB}bc) \
(.ocm:{TAIL}={EM}/{LIB}ocm) \ (.ocm:{TAIL}={EM}/{LIB}ocm) \
(.mod:{TAIL}={EM}/{LIB}m2) \ (.mod:{TAIL}={EM}/{LIB}m2) \
(.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \ (.ocm.b:{TAIL}={OLD_C_LIB}) \
(.c:{TAIL}={C_LIB}) \
(.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}mon) \ (.mod.ocm.b.c.p:{TAIL}={EM}/{LIB}mon) \
(.e:{TAIL}={EM}/{LIB}em {EM}/lib/z8000/end_em) (.e:{TAIL}={EM}/{LIB}em {EM}/lib/z8000/end_em)
linker linker