Configuring KDS pre-processor

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Configuring KDS pre-processor

跳至解决方案
1,135 次查看
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.

标签 (1)
1 解答
1,047 次查看
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

在原帖中查看解决方案

1 回复
1,048 次查看
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