|ARM Technical Support Knowledge Articles|
Applies to: C166 C Compiler
Information in this article applies to:
Is there a way in C166 to get a only a preprocessor listing?
Yes. The PREPRINTONLY directive, abbreviated PPO, instructs the compiler to produce a preprocessor listing and stop. When you use PREPRINTONLY, an object file is not created. Macro calls are expanded and comments are deleted.
If no argument is specified for PREPRINTONLY, the preprocessor listing file is named basename.I where basename is the name, without extension, of the source file.
If an argument is specified for PREPRINTONLY, the preprocessor listing file is created with that name.
By default, the C166 Compiler does not create a preprocessor listing file.
The PREPRINTONLY directive may be specified only on the command line. It may not be specified in the C source file by means of the #pragma directive.
C166 SAMPLE.C PREPRINTONLY or C166 SAMPLE.C PPO (PREPRO.LSI)
Article last edited on: 2005-07-15 14:10:17
Did you find this article helpful? Yes No
How can we improve this article?