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

GHC ghc-devs at haskell.org
Sat Jan 25 19:00:34 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):

 {{{
 carter repoScratcher/ghc ‹cpp_settings*› » ag /usr/bin/gcc
 compiler/main/SysTools.lhs
 154:     extra_ghc_opts = ["-pgmc/usr/bin/gcc","-pgml${topdir}/bin/unlit",
 ... etc.],


 mk/config.mk.in
 619:# AC_PROG_CPP defines CPP as "/usr/bin/gcc -E"

 rts/ghc.mk
 526:# gcc as its preprocessor. If gcc isn't at /usr/bin/gcc, or we need

 }}}

 gives some fixme locations


 @joelton, sounds like your test build was just with master, Try the CPP
 settings branch WIP :)
 (mind you, still broken, but maybe less so than unpatched would be)

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


More information about the ghc-tickets mailing list