mikroC PRO for 8051 Command Line Options
Usage: mikroc8051 [-'opts' [-'opts']] ['infile' [-'opts']] [-'opts']]
Infile can be of *.c
and *.mcl
type.
The following parameters and some more (see manual) are valid:
-
The following parameters and some more (see manual) are valid:
- P
: MCU for which compilation will be done.
- FO
: Set oscillator.
- SP
: Add directory to the search path list.
- IP
: Add directory to the #include search list.
- N
: Output files generated to file path specified by filename.
- B
: Save compiled binary files (*.mcl
) to 'directory'.
- O
: Miscellaneous output options.
- DBG
: Generate debug info.
- E
: Set memory model opts (S | C | L (small, compact, large)
).
- L
: Check and rebuild new libraries.
- C
: Turn on case sensitivity.
mikroc8051.exe -MSF -DBG -pAT89S8253 -ES -O11111114 -fo10 -N"C:\Lcd\Lcd.mcp51" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for 8051\Defs\"      -SP"C:\Program Files\Mikroelektronika\mikroC PRO for 8051\Uses\"      -SP"C:\Lcd\" "Lcd.c" "__Lib_System.mcl" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_Delays.mcl" "__Lib_Lcd.mcl" "__Lib_LcdConsts.mcl"
Parameters used in the example:
-MSF :
Short Message Format; used for internal purposes by IDE.-DBG :
Generate debug info.-pAT89S8253 :
MCU AT89S8253 selected.-ES :
Set small memory model.-O11111114 :
Miscellaneous output options.-fo10 :
Set oscillator frequency [in MHz].-N"C:\Lcd\Lcd.mcp51" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for 8051\Defs\" :
Output files generated to file path specified by filename.-SP"C:\Program Files\Mikroelektronika\mikroC PRO for 8051\Defs\" :
Add directory to the search path list.-SP"C:\Program Files\Mikroelektronika\mikroC PRO for 8051\Uses\" :
Add directory to the search path list.-SP"C:\Lcd\" :
Add directory to the search path list."Lcd.c" "__Lib_System.mcl" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_Delays.mcl" "__Lib_Lcd.mcl" "__Lib_LcdConsts.mcl" :
Specify input files.
Copyright (c) 2002-2013 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
What do you think about this topic ? Send us feedback!