Monday, February 27, 2006

Cpphs

Yhc now has full and nice support for C Preprocessor directives. If you would like to compile with them simply include the flag -cpp, and it will run an internal preprocessor (no extra runtime dependancies).

The cpp support is provided by Cpphs in its use as a library. For the moment, the flag defined is __YHC__. The makefile on both Windows and Unix has changed substantially - both automatically detect if you are missing cpphs, and darcs get it for you if required.

Hopefully this should make stage 2 easier - compiling the heirarchical libaries!