#!/bin/sh

gnatgcc -g -fPIC -c tst-array5dep.c
gnatgcc -g -shared -o libtst5.so tst-array5dep.o

gnatgcc -o tst-array5 -g tst-array5.c -L. -R. -ltst5

#./tst-array5 > tst-array5.output
#diff tst-array5.exp tst-array5.output

gnatgcc -o tst-array5-static -static -g tst-array5.c

./tst-array5-static > tst-array5-static.output
diff tst-array5-static.exp tst-array5-static.output
