[comp.lang.c++] Using a different preprocessor with Sun C++ 2.1

jak@cs.brown.edu (Jak Kirman) (01/07/91)

We are using Sun's C++ 2.1 Beta II compiler, on a Sparcstation 1.

With version 2.0, one could define which preprocessor was to be used
with the cppC environment variable.  This was very useful since by
default the compiler used sun's cpp, which is not ansi-compliant.  This
possibility does not seem to exist on the 2.1 compiler: cppC is ignored,
and there is no mention in the man page of the possibility of using any
other preprocessor.

Does anyone know how I could do this, apart from manually running it
through the preprocessor and then giving CC-2.1 the result?

                                Jak                            jak@cs.brown.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When one has to jump, it's so much safer to jump into deep water.
                                       -- Graham Greene, "Monsignor Quixote"