GHC doesn't pass -D option to gcc when it is used as C compiler. I don't know whether this is a bug or a feature but this makes imposible to use defines from C sources when they are compiled with Cabal. Cheers, Krasimir __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com