At 15:41 2003-3-21 -0600, you wrote:
I was thinking of renaming the .rcp file and running it through a C preprocessor first with the output being input to PilRC but I'd like it to automatically build from within CW9 and I don't know how to do that.

CodeWarrior doesn't now have a C preprocessor that can be run separately from the C/C++ compiler. Our compiler actually integrates the preproceess and semantic analysis phases, and there's not a separate step that can be done.


However, in V9, the pilrc.exe that gets run by the command-line adapter could be replaced with an EXE that ran some other preprocessor then fed that output to another pilrc.exe -- this would take considerable work to get going.

A better fix might be to try modifying PILRC to better support preprocessing itself. This won't be a fun task, but it will benefit all who use the tool.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to