[GHC] #8683: add "cpp program" and "cpp program options" to settings file

GHC ghc-devs at haskell.org
Tue Jul 1 15:05:56 UTC 2014


#8683: add "cpp program" and "cpp program options" to settings file
-------------------------------------+------------------------------------
        Reporter:  carter            |            Owner:  carter
            Type:  feature request   |           Status:  patch
        Priority:  high              |        Milestone:  7.8.3
       Component:  Compiler          |          Version:  7.8.1-rc2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:  9094              |  Related Tickets:  #8439
-------------------------------------+------------------------------------

Comment (by MtnViewMark):

 As mentioned on phabricator, I've tested the patch and it works. This
 enables the Mac build to have a single build, which can be re-configured
 for the target machine after it has been copied onto the target machine.

 This is important as otherwise the HP would have to be distributed either
 in two forms (one for clang, one for non-clang), or with the ghc-clang-
 wrapper hack, which works but is brittle.

 Assuming this goes in, the next HP will have a script, activate-hs, which
 will allow the user to switch between installactions of the HP, and will
 also fix up these settings in cases where the users tool chain has
 switched from non-clang to clang. (This can happen on systems where the
 user has been using an old Xcode and then updates Xcode.)

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


More information about the ghc-tickets mailing list