
#14493: Why is g++ necessary to compile GHC? -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: wontfix | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => wontfix Comment: Right after I hit "submit" the reason became clear: `libffi` is explicitly looking for a C++ preprocessor. Consequently it uses `.cpp` as the extension for the source file it feeds `gcc`. This compels `gcc` to go looking for a C++ compiler. It looks like we will just need to document the `g++` requirement. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14493#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler