; RConfig Test Script #4a

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__SAFE_ALLOCA -m0d -pl -sa -s0b -sf -sm -ss -sp -sn -r04 -r06 -sr
lb rlib.lib T:rlib.o

; Make Test Program
cc test4a.c
ln test4a.o rlib.lib -lc

; Set-up Test Environment
test4a
