RE: GHC doesn't pass -D options to gcc

2005-01-11 Thread Krasimir Angelov
--- Simon Marlow [EMAIL PROTECTED] wrote: On 09 January 2005 12:11, Krasimir Angelov wrote: 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

RE: GHC doesn't pass -D options to gcc

2005-01-10 Thread Simon Marlow
On 09 January 2005 12:11, Krasimir Angelov wrote: 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. -optc-D? Or have I misunderstood the