|
RE: GHC doesn't pass -D options to gcc: msg#00030lang.haskell.glasgow.bugs
--- 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> |
|---|---|---|
| Previous by Date: | Re: search path wierdness, Duncan Coutts |
|---|---|
| Next by Date: | RE: search path wierdness, Simon Marlow |
| Previous by Thread: | RE: GHC doesn't pass -D options to gcc, Simon Marlow |
| Next by Thread: | Should runghc use PATH?, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |