RF_Developer
Joined: 07 Feb 2011 Posts: 839
|
|
Posted: Thu Sep 19, 2013 2:44 am |
|
|
There is no default start-up code for the 18 series, or for any other PICs. Every PIC requires different start-up code, and every configuration is potentially different depending on what options and peripheral support is required. There is no file containing this code, its generated as required by the compiler, and if there were it would not be C.
The CCS C compilers can be called from the command line. Indeed CCS provides (or at least used to) a free version of the compiler that can only be used from the command line. There is a section in the help called "Invoking the Command Line Compiler" which gives full details though personally I have never, and very unlikely ever, to use it. I presume the free version comes with all the relevant documentation.
The C code generated by the CCS compiler is fully embedded and obviously cannot be invoked from any command line, and therefore CCS C probably has no support for argc and argv. CCS C mains have no parameters and no return value. |
|