Configuring KDS pre-processor

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Configuring KDS pre-processor

Jump to solution
534 Views
garylynch
Contributor IV

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.

Labels (1)
1 Solution
446 Views
BlackNight
NXP Employee
NXP Employee

You can add your own options manually in several places, including this one:

pastedImage_1.png

About preprocoessor listing: this article might be what you need:

Preprocessor Listing for GNU gcc with GNU ARM Eclipse Plugins

Erich

View solution in original post

1 Reply
447 Views
BlackNight
NXP Employee
NXP Employee

You can add your own options manually in several places, including this one:

pastedImage_1.png

About preprocoessor listing: this article might be what you need:

Preprocessor Listing for GNU gcc with GNU ARM Eclipse Plugins

Erich