[GHC] #2966: build system does not respect --with-gcc=

GHC trac at galois.com
Thu Feb 12 12:08:07 EST 2009


#2966: build system does not respect --with-gcc=
---------------------------------+------------------------------------------
    Reporter:  duncan            |        Owner:  igloo           
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:  6.12 branch     
   Component:  Build System      |      Version:  6.11            
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by duncan):

 A helpful workaround in the meantime (ie for 6.10.2) is to add a check
 that if `--with-gcc=` is given, then it's exactly the same one as the
 `gcc` on the `$PATH`.

 Even in this case the `--with-gcc=` is not redundant because it bakes the
 gcc path into ghc so that it'll use that one once installed, even if the
 gcc on the path is different at that time. So the gcc on the `$PATH` only
 has to be the same at build time.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2966#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list