logo       

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

lang.haskell.glasgow.bugs

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


--- Simon Marlow <simonmar@xxxxxxxxxxxxx> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise