* src/pic/gen.h: Q&D solution for the bug, found by Jim Paris
[fw/sdcc] / src / regression / rt.sh
index 6e7273d9d919dfef05c4635cd829b16b483fcb72..c25636751b949ca5d9e87d426e1e952b2ea19fd2 100755 (executable)
@@ -8,9 +8,13 @@ if [ $# -lt 1 ] ; then
 fi
 
 # compile
-../../bin/sdcc -c -mpic14 $1.c
-gpasm -c  -I /usr/local/share/gpasm/header $1.asm
+
+../../bin/sdcc -I ../../device/include/pic -c -mpic14 -pp16f877 $1.c
+
+
+# create the executable
+
+gplink --map -c -o $1.o $1.o
 ./create_stc $1.cod $1.stc
+
 ./simulate $1.stc garbage.log
-cat garbage.log
-rm garbage.log
\ No newline at end of file