This question pertains to KDS 3.0.0 with GNU ARM C/C++
Compiler 1.12.1.201502281154. I sometimes need to look at
the output of the pre-processor. (On other systems these are
sometimes called *.i files.) My understanding is that
Eclipse immediately deletes them after a build by default
and you must set some command-line argument to hang onto
them.
I found nothing relating to the pre-processor under KDS, but
when I Google "GNU ARM Eclipse pre-processor" I get a hit at
- http://sourceforge.net/p/gnuarmeclipse/feature-requests/37/
which mentions an option called "--save-temps", but that
appears only to preserve the *.o files.
Furthermore, although I have found places where I can check
a checkbox and force KDS to set a command-line option for
me, I have yet to find a place where I can set command-line
options manually.
Any help would be appreciated.
Solved! Go to Solution.
You can add your own options manually in several places, including this one:
About preprocoessor listing: this article might be what you need:
Preprocessor Listing for GNU gcc with GNU ARM Eclipse Plugins
Erich
You can add your own options manually in several places, including this one:
About preprocoessor listing: this article might be what you need:
Preprocessor Listing for GNU gcc with GNU ARM Eclipse Plugins
Erich