> Are you including the right header files using the -#include option? Of course, if you want portable code, you will favour the FFI-standard mechanism foreign import ccall "stdio.h putchar" putCHar :: Char -> IO () over the GHC-specific -#include stdio.h option. -- Alastair