; RConfig Test Script #7

if not exists rlib:
    echo "RConfig Library Source Not Found"
    quit
endif

; Generate Replacement Library
;cc RLIB:rlib.c -iRLIB: -oT:rlib.o -d__ALLOCA_REPLACE -d__RISKY_ALLOCA -d__STKCHK_REPLACE -dSTKCHK_MIN_STACK=2768 -d__DYNASTACK_STKCHK -dSTKCHK_STACK_SIZE=8192 -dSTKCHK_CONTEXT_SIZE=128 -d__SETJMP_REPLACE -m0d -pl -sa -s0b -sf -sm -ss -sp -sn -r04 -r06 -sr
;lb rlib.lib T:rlib.o

; Make Test Program
cc -bs -bd -at test7.c
stkchker test7.asm
as test7.asm
ln test7.o rlib.lib -lc

; Set-up Test Environment
stack 4000
test7
