[GHC] #8683: add "cpp program" and "cpp program options" to settings file
GHC
ghc-devs at haskell.org
Fri Jan 24 06:48:17 UTC 2014
#8683: add "cpp program" and "cpp program options" to settings file
-------------------------------------+------------------------------------
Reporter: carter | Owner:
Type: feature request | Status: patch
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets: #8439
-------------------------------------+------------------------------------
Comment (by carter):
I've made some improvements and simplifications based upon Austin's
excellent feedback.
the logic now correctly sets the haskell cpp-flags automatically when the
selected cpp program is one of
gcc, clang, or cpphs, and issues a warning if its a different program from
those three and
suggest explicitly setting --with-cpp-flags=FLAGS
https://github.com/cartazio/ghc/compare/cpp_settings
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8683#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list