--- 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 compiled with Cabal.
> 
> -optc-D?  Or have I misunderstood the problem?
> 
> Cheers,
>       Simon
> 

Cabal uses ghc to compile C sources and it passes all
cc-options to ghc. Probably all cc-options should be
prefixed with -optc. I will check that.

Cheers,
  Krasimir



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to