> I very much doubt that any compiler other than gcc uses the gcc > preprocessor. > > In any case, the documentation has in some sense misled you. __GNUC__ > is indeed defined by the compiler proper, not by the preprocessor. > But that in turn does not matter, as if any non-gcc compiler *did* use > the gcc preprocessor, it would do so via gcc -E. In gcc, the > preprocessor is not a separate program.
Just one piece of info: A mpC compiler for parallel language uses GNU CPP: "The mpC compiler uses standard preprocessor cpp. You should specify the directory where cpp is placed when editing Makefile. We recommend to use GNU cpp." (http://www.ispras.ru/~mpc/mpc-122-iguide.html). I know, mpC is not exactly a C compiler. But it seems that it is feasible (and was done) to use GNU CPP as a preprocesser in a compiler for C or a language based on C. _________________________________________________________________ Need to know now? Get instant answers with Windows Live Messenger. http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_messenger_072008