patch applied (cabal): Always use gcc as cc with hsc2hs

Ian Lynagh igloo at
Tue Jul 22 13:55:30 EDT 2008

Sun Jul 20 16:37:59 PDT 2008  Duncan Coutts <duncan at>
  * Always use gcc as cc with hsc2hs
  Lookup what flags to use from the package index. Previously this
  was done by calling ghc as cc and passing -package flags to ghc.
  ghc would then lookup what extra flags to pass to gcc. We now do
  that ourselves directly and it's a good deal simpler and it's
  portable to the other haskell implementations. This is only a
  first go, the flags may not all be exactly right. Needs testing.

    M ./Distribution/Simple/PreProcess.hs -47 +49

View patch online:

More information about the cabal-devel mailing list