[Distutils] Autoconf in Python

Thomas Heller thomas.heller@ion-tof.com
Wed, 21 Jun 2000 09:58:32 +0200


> Oh, Unix wizards: currently I just do "cc -E filename.c -o filename.i"
> to run the preprocessor.  Works with GCC, and ISTR that SGI's compiler
> supports "-E" too.  Anyone know how widely spread this convention is?
> Should I implement some heuristics to figure out whether to use "cc -E"
> or "/lib/cpp"?  What other options are there?

MSVC supports the -E flag which writes the prerpocessed file to standard
output, and the -P flag to create an xxx.i file. No separate preprocessor
executable is available to the user.

Borland 5.5 seems to have a separate cpp as cpp32.exe.

Thomas