how to use the c51 compiler for example if i use c51 -C main.c it is giving error like c51 FATAL-ERROR - ACTION: PARSING INVOKE-/#PRAGMA - LINE LINE: C:\KEIL\C51\BIN\c51.exe -C main.c ERROR: UNKNOWN CONTROL C51 TERMINATED.
these commands will work only htsoft c51 compiler
"these commands will work only htsoft c51 compiler" Pardon?
commands like C51 --CHIP=8051AH -C main.c module1.c asmcode.as C51 --CHIP=8051AH main.obj module1.obj asmcode.obj C51 --CHIP=8051AH -Ddebug -Dbuffers=10 test.c C51 --CHIP=8051AH -Ex.err x.c etc
This forum is for the Keil C51 compiler. Keil C51's command line options are different than HI-TECH C51's command line options. If you want to ask something about the HI-TECH compiler, go to http://www.htsoft.com and ask on their forum.