Fixed #1292721
[fw/sdcc] / src / regression / rt.sh
index 5b1ca1fc55a14f513909822d1bc8c0f4f27ad0e9..c25636751b949ca5d9e87d426e1e952b2ea19fd2 100755 (executable)
@@ -8,16 +8,13 @@ if [ $# -lt 1 ] ; then
 fi
 
 # compile
-# ../../bin/sdcc -S -mpic14 $1.c
-../../bin/sdcc -c -mpic14 -pp16f873 $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 -s 16f877.lkr -o $1.o $1.o
+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