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

#11618: Supporting echoing the C compiler invocation instead of the GHC invocation when building the RTS -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: feature | Status: new request | Priority: normal | Milestone: Component: Build System | Version: 7.10.3 Keywords: ide | Operating System: Unknown/Multiple Architecture: | Type of failure: Other Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Currently GHC's build system echos the GHC invocation used to build each C source file. This is incompatible with IDEs like Eclipse, which require that the actual C compiler invocation be emitted so they can determine the flags being passed to the C compiler. As a result, code assistance in Eclipse is poor. This is a feature request for mimicking the build output of a C build. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11618 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#11618: Supporting echoing the C compiler invocation instead of the GHC invocation when building the RTS -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: feature request | Status: infoneeded 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: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => infoneeded -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11618#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11618: Supporting echoing the C compiler invocation instead of the GHC invocation when building the RTS -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: feature request | Status: closed Priority: normal | Milestone: Component: Build System | Version: 7.10.3 Resolution: invalid | 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: | -------------------------------------+------------------------------------- Changes (by thomie): * status: infoneeded => closed * resolution: => invalid Comment: No response from submitter. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11618#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC