
#7904: GHC calls the cc1 of a gcc thats not the first in PATH ---------------------------+------------------------------------------------ Reporter: carter | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: wontfix | Keywords: Os: MacOS X | Architecture: x86_64 (amd64) Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ---------------------------+------------------------------------------------ Changes (by igloo): * status: new => closed * difficulty: => Unknown * resolution: => wontfix Comment: As far as I know GHC and Cabal only call gcc, not cc1. However, it's deliberate that we default to using the gcc (and the gcc flags) that was chosen when building ghc. This means that, for example, we know that on OS X the gcc will produce binaries for the right platform (OSX/x86_64 rather than OSX/x86, say). I don't think we want to warn every time GHC is run if you have asked it to use a different gcc to the default. If you want to see what gcc is being used, then you can add `-v` to the ghc command line. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7904#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler