Having the license for professional version of XC8 and XC16 compilers, I need to know how to setup the compilers for PRO version in case of XC8 and different other levels of XC16.
XC8 compiler has 3 levels: free, standard and pro. How do I set it PRO in FC7?
XC16 complier has 5 levels: 0, 1, 2, s and 3. How do I choose the one I need in FC7?
When I use MPLABX with XC8 and XC16, then specific for each project I set up the desired level of optimization as seen below:
Here is the help text from MPLABX about XC8 optimization levels:
This option selects the basic operating mode of the compiler. The available types are pro, std and free. A compiler operating in PRO mode uses full optimization and produces the smallest code size. Standard mode uses limited optimizations, and Free mode only uses a minimum optimization level and will produce relatively large code.
Here is the help text from MPLABX about XC16 optimization levels:
I already have read next posts:- 0 - Do not optimize. The compiler’s goal is to reduce the cost of compilation and to make debugging produce the expected results.
- 1 - Optimize. Optimizing compilation takes somewhat longer, and a lot more host memory for a large function. The compiler tries to reduce code size and execution time.
- 2 - Optimize even more. The compiler performs nearly all supported optimizations that do not involve a space-speed trade-off.
- s - Optimize yet more favoring size (superset of O2).
- 3 - Optimize yet more favoring speed (superset of O2).
viewtopic.php?f=63&t=17843&p=75494&hili ... ion#p75494
viewtopic.php?f=63&t=17978&p=76229&hili ... ion#p76229
Seems clear how to point to XC8 external compiler, but how do I set up the optimizations levels, especially for XC16?