From: kbongers Date: Wed, 18 Jul 2001 19:03:27 +0000 (+0000) Subject: minor updates X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=c60915f3ff3fdb10f5d49db788061c1bf6c4554b;hp=ca77a7e7204ed89893a9a44ee43f797501d39c2c;p=fw%2Fsdcc minor updates git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1082 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/device/examples/mcs51/simple/go.bat b/device/examples/mcs51/simple/go.bat index c5b12f69..c3a9048e 100644 --- a/device/examples/mcs51/simple/go.bat +++ b/device/examples/mcs51/simple/go.bat @@ -1,6 +1,10 @@ ; this is a windows batch file to compile hi.c -set SDCCINC=c:\usr\local\sdcc\device\include -set SDCCLIBS=c:\usr\local\sdcc\device\lib\small +; set SDCCINC=c:\usr\local\sdcc\device\include +; set SDCCLIBS=c:\usr\local\sdcc\device\lib\small + +set SDCCINC=c:\sdcc\include +set SDCCLIBS=c:\sdcc\lib\small + +sdcc -I %SDCCINC% -L %SDCCLIBS% hi.c -sdcc -I $(SDCCINC) hi.c sdcclib.lib -L $(SDCCINC) diff --git a/device/examples/mcs51/simple/hi.c b/device/examples/mcs51/simple/hi.c index d58911c4..864ea39a 100644 --- a/device/examples/mcs51/simple/hi.c +++ b/device/examples/mcs51/simple/hi.c @@ -8,7 +8,7 @@ program to compile and play with. The simulator can be used to run this program: - s51 -Sout=testout.txt hi.ihx (run, stop, quit) + s51 -Sout=serial.txt hi.ihx (run, stop, quit) 6-28-01 Written by Karl Bongers(karl@turbobit.com) |------------------------------------------------------------------------*/ diff --git a/device/examples/mcs51/simple/test b/device/examples/mcs51/simple/test index 40cf480d..75c88b4a 100755 --- a/device/examples/mcs51/simple/test +++ b/device/examples/mcs51/simple/test @@ -6,5 +6,5 @@ # stop # quit -s51 -Sout=testout.txt hi.ihx +s51 -Sout=serial.txt hi.ihx