Why do I get "(924) missing argument to -O option" when compiling under MPLAB IDE?
The command-line options passed to the compiler driver changed in version 9
compilers, and you need to be using a new MPLAB IDE compiler plugin to ensure
these new options are used when compiling.
If you're using a version 9 compiler, in MPLAB IDE choose Select Language Toolsuite
from the Project menu and select the "HI-TECH Universal Toolsuite" rather than
one of the older compiler-specific toolsuites, such as the HI-TECH PICC Toolsuite or
the HI-TECH PICC-18 Toolsuite.
Do NOT specify the path of the compiler in the Location field of this dialog; it is not
used. See the webinar:
http://techtrain.microchip.com/w ... ail.aspx?Active=193
for more information on creating projects and using the HI-TECH Universal Toolsuite
in MPLAB IDE.
hi-tech 在 version 9 之後改了 -o
所以要去 microchip 下載新的 MPLAB IDE compiler plugin
http://www.htsoft.com/support/faqs.php#faq241
|