GNU Info

Info Node: (nasm.info)Section 2.1.14

(nasm.info)Section 2.1.14


Next: Section 2.1.15 Prev: Section 2.1.13 Up: Section 2.1
Enter node , (file) or (file)node

2.1.14. The `-e' Option: Preprocess Only
----------------------------------------

   NASM allows the preprocessor to be run on its own, up to a point.
Using the `-e' option (which requires no arguments) will cause NASM to
preprocess its input file, expand all the macro references, remove all
the comments and preprocessor directives, and print the resulting file
on standard output (or save it to a file, if the `-o' option is also
used).

   This option cannot be applied to programs which require the
preprocessor to evaluate expressions which depend on the values of
symbols: so code such as

     %assign tablesize ($-tablestart)

   will cause an error in preprocess-only mode.


automatically generated by info2www version 1.2.2.9