[GHC] #8498: gcc hardcoded in build scripts! (ignores the --with-gcc= flag in configure)

GHC ghc-devs at haskell.org
Thu Mar 13 09:25:35 UTC 2014


#8498: gcc hardcoded in build scripts! (ignores the --with-gcc= flag in configure)
---------------------------------+------------------------------------
        Reporter:  carter        |            Owner:
            Type:  bug           |           Status:  new
        Priority:  high          |        Milestone:  7.8.1
       Component:  Compiler      |          Version:  7.7
      Resolution:                |         Keywords:
Operating System:  MacOS X       |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:                |       Blocked By:
        Blocking:                |  Related Tickets:
---------------------------------+------------------------------------

Comment (by hvr):

 Replying to [ticket:8498 carter]:
 > notice the hard coded gcc call
 >
 > {{{ gcc -E  -m64 -undef -traditional -P -Iincludes -Iincludes/dist
 -Iincludes/dist-derivedconstants/header -Iincludes/dist-
 ghcconstants/header  -Icompiler/stage1 -x c
 compiler/prelude/primops.txt.pp | grep -v '^#pragma GCC' >
 compiler/stage1/build/primops.txt }}}

 fyi, this may be actually related to #8683 as the rule involved uses
 `$CPP`:

 {{{#!make
 compiler/stage$1/build/Parser.y: compiler/parser/Parser.y.pp
         $$(CPP) $$(RAWCPP_FLAGS) -P $$(compiler_CPP_OPTS) -x c $$< | grep
 -v '^#pragma GCC' > $$@
 }}}

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


More information about the ghc-tickets mailing list