I reinstalled it and ran the following tests: G:\TestSdcc>sdcc -E -V test.c + G:\SDCC\bin\sdcpp.exe -nostdinc -Wall -std=c99 -obj-ext=.rel -DSDCC_MODEL_SMAL L -DSDCC=260 -DSDCC_mcs51 -D__mcs51 -I"G:\SDCC\include\mcs51" -I"G:\SDCC\bin\..\ include\mcs51" -I"G:\SDCC\include" -I"G:\SDCC\bin\..\include" "test.c" # 1 "test.c" char test;
void main(void) { test=0; } G:\TestSdcc>sdcc -V -c test.c + G:\SDCC\bin\sdcpp.exe -nostdinc -Wall -std=c99 -obj-ext=.rel -DSDCC_MODEL_SMAL L -DSDCC=260 -DSDCC_mcs51 -D__mcs51 -I"G:\SDCC\include\mcs51" -I"G:\SDCC\bin\..\ include\mcs51" -I"G:\SDCC\include" -I"G:\SDCC\bin\..\include" "test.c" Preproc file not found: Invalid argument Regards Carlos -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Raphael Neider Sent: Sunday, November 12, 2006 6:18 AM To: sdcc-user@lists.sourceforge.net Subject: Re: [Sdcc-user] '1' is not recognized... Hi, > I downloaded the sdcc-2.6.0-setup.exe and installed in Windows XP. > When I try the test procedure, (sdcc -c test.c), I get the error: > > '1' is not recognized as an internal or external command, operable > program or batch file. Just in case this still in an issue...: This error is probably emitted from the Windows command-line. Maybe you have an invalid sdcc.bat batch file in your PATH, which includes invalid commands such as %SDCC% $1 $2 $3 $4", where "1" should be "$1" and SDCC is yet unset? You might want to paste the output of sdcc -v and sdcc -V -c test.c If the first one fails, this is definitely a problem with your setup (SDCC will not call any external programs like linker or assembler). -- Regards, Raphael Neider ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user