some additions, larger top/bottom margins (for a4 and letter)
[fw/sdcc] / src / regression / rt.sh
index 6e7273d9d919dfef05c4635cd829b16b483fcb72..5b1ca1fc55a14f513909822d1bc8c0f4f27ad0e9 100755 (executable)
@@ -8,9 +8,16 @@ if [ $# -lt 1 ] ; then
 fi
 
 # compile
-../../bin/sdcc -c -mpic14 $1.c
-gpasm -c  -I /usr/local/share/gpasm/header $1.asm
+# ../../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
+
+# create the executable
+
+gplink --map -c -s 16f877.lkr -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
+rm garbage.log