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

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


Sun Jul 20 16:37:59 PDT 2008  Duncan Coutts <duncan at haskell.org>
  * 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:
http://darcs.haskell.org/cabal/_darcs/patches/20080720233759-adfee-afc666f51c90c7f2922b4a85778f5905dbd5b532.gz



More information about the cabal-devel mailing list