At the moment, quite a few common C-compiler options are passed on quietly to the C compilation of Haskell-compiler-generated C files. THIS MAY CHANGE. Meanwhile, options so sent are:
`-Wall' get all warnings from GCC `-ansi' do ANSI C (not K&R) `-pedantic' be so `-dgcc-lint' (hack) short for "make GCC very paranoid"
If you are compiling with lots of `ccalls', etc., you may need to tell the C compiler about some `#include' files. There is no pretty way to do this, but you can use this hack from the command-line:
% ghc -c '-#include <X/Xlib.h>' Xstuff.lhs