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

  * difficulty:  => Unknown

Comment:

 They accept `--with-cc`. Is `--with-gcc` more standard?

 I don't know if supporting both is easy or not. The current code is:
 {{{
 AC_ARG_WITH([cc],
             [C compiler],
             [CC=$withval])
 AC_PROG_CC()
 }}}
 so perhaps
 {{{
 AC_ARG_WITH([gcc],
             [C compiler],
             [CC=$withval])
 AC_ARG_WITH([cc],
             [C compiler],
             [CC=$withval])
 AC_PROG_CC()
 }}}
 or similar would work.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2966#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to