On Fri, 2009-01-16 at 09:32 +0000, Simon Marlow wrote:

> and I have no idea what the problem is here.  Why are we using 
> c:\cygwin\bin\gcc.exe?  That seems highly dubious.

If it is Cabal that is calling the dubious version of gcc then it may be
due to:

Fri Jan  9 15:35:07 GMT 2009  Ian Lynagh <[email protected]>
  * On Windows, if gcc isn't where we expect it then keep looking
    {
    hunk ./Distribution/Simple/GHC.hs 221
    -    findProg prog location | isWindows = \_ -> do
    +    findProg prog location | isWindows = \verbosity -> do
    hunk ./Distribution/Simple/GHC.hs 223
    -        if exists then return (Just location) else return Nothing
    +        if exists then return (Just location)
    +                  else do warn verbosity ("Couldn't find " ++
programName prog ++ " where I expected it. Trying the search path.")
    +                          programFindLocation prog verbosity
    }

If this is the case, make sure to override the location of gcc, using
--with-gcc=.

Duncan

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to