Ctpp, the Ctalk preprocessor complies with the ISO C99 standard and adds a few features of its own, like macro expansion in error and warning messages, macros that describe command line options, and features for complex token pasting.  The preprocessor is easy to adapt to various systems, and it supports the following platforms directly.  The most recent release is available from the download link at the bottom of the page.
  • DJGPP Win32
  • GNU/Linux x86 32-bit
  • GNU/Linux Itanium 64-bit
  • GNU/Linux AMD64 64-bit
  • Apple PowerPC  OS X 9.x
  • OpenSuse Linux IBM s390z
  • Solaris Sun/SPARC 32-bit
Beginning with version 1.0.68, ctpp can define its built-in definitions directly from the the machine's native preprocessor.  However, you can still use system-specific built-in macros using the configurations above, by using the --with-builtins=old option to configure, or build ctpp without any builtin macros, with the option --with-builtins=no.
Robert Kiesling,
Jun 15, 2012, 10:54 AM