www.digitalmars.com         C & C++   DMDScript  

c++ - -e

reply comeau panix.com (Greg Comeau) writes:
How can I view the output from the preprocessor with sc?
I thought -e would do it, but it almost seems ignored.
-- 
Greg Comeau   What's next: additional Windows backends and 'export'!
Comeau C/C++ ONLINE ==>     http://www.comeaucomputing.com/tryitout
World Class Compilers:  Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
Jan 12 2002
parent "Walter" <walter digitalmars.com> writes:
sc test -e -l

will produce a listing file test.lst with the expanded macros in it.

"Greg Comeau" <comeau panix.com> wrote in message
news:a1pk8p$4rv$1 panix3.panix.com...
 How can I view the output from the preprocessor with sc?
 I thought -e would do it, but it almost seems ignored.
 --
 Greg Comeau   What's next: additional Windows backends and 'export'!
 Comeau C/C++ ONLINE ==>     http://www.comeaucomputing.com/tryitout
 World Class Compilers:  Breathtaking C++, Amazing C99, Fabulous C90.
 Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
Jan 12 2002