[GHC] #8197: telling people how to use GHC 7.6 correctly with Xcode 5/ OS X Mavericks

GHC ghc-devs at haskell.org
Thu Sep 5 01:46:36 CEST 2013


#8197: telling people how to use GHC  7.6 correctly with Xcode 5/ OS X Mavericks
---------------------------------+----------------------------------
        Reporter:  carter        |            Owner:
            Type:  bug           |           Status:  new
        Priority:  normal        |        Milestone:
       Component:  Compiler      |          Version:  7.6.3
      Resolution:                |         Keywords:
Operating System:  MacOS X       |     Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:                |       Blocked By:
        Blocking:                |  Related Tickets:
---------------------------------+----------------------------------

Comment (by darinmorrison):

 I agree that something needs to be done. This is going to be a nightmare
 for a lot of people once 10.9 hits, where Xcode 5 is required.

 I haven't tried Luke's script yet but it might be the right way to go.

 If we use it, we should ensure it's only called with clang is invoked via
 GHC, just to be on the safe side and to avoid causing any unforeseen
 problems for other clang users.

 Another alternative is to use apple-gcc42 until 7.8 ships. This is
 currently what I'm doing on 7.6.3 on 10.9/Xcode 5 and how it works if you
 install GHC 7.6.3 through homebrew. (apple-gcc42 installs a separate
 gcc-4.2 binary; it doesn't overwrite any existing gcc/clang stuff).

 Unfortunately both the wrapper and the apple-gcc42 approach are hacks. I
 would honestly be much more in favor of releasing a 7.6.4 that does a
 proper fix by backporting the clang compatibility patches.

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




More information about the ghc-tickets mailing list