[GHC] #11618: Supporting echoing the C compiler invocation instead of the GHC invocation when building the RTS

GHC ghc-devs at haskell.org
Sun Feb 21 15:59:38 UTC 2016


#11618: Supporting echoing the C compiler invocation instead of the GHC invocation
when building the RTS
-------------------------------------+-------------------------------------
        Reporter:  dobenour          |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Build System      |              Version:  7.10.3
      Resolution:                    |             Keywords:  ide
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by thomie):

 I don't understand this request. What do flags being passed to the C
 compiler when building GHC have to do with code assistance in Eclipse?

 But you can try putting something like this in your `mk/build.mk` file:
 `rts_HC_OPTS += -v`. Then the lines you're looking for should show up in
 the output (together with a bunch of other stuff):

 {{{
 *** C Compiler:
 ./usr/bin/gcc ...
 }}}

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


More information about the ghc-tickets mailing list