* Makefile.in, configure.in, configure,
[fw/sdcc] / src / regression / rt.sh
index da4d72c20843055212c43324c698397c26962319..c25636751b949ca5d9e87d426e1e952b2ea19fd2 100755 (executable)
@@ -8,10 +8,13 @@ if [ $# -lt 1 ] ; then
 fi
 
 # compile
-../../bin/sdcc -S -mpic14 $1.c
-#gpasm -c  -I /usr/local/share/gpasm/header $1.asm
-gpasm  $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