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.
If you have a project you can look at the "C51 Options" to see the command line arguments. The manual will explain what they mean.