Hi,

> What change did we think we need for a GHC 7.6.4 to support Xcode 5? Was it
> just this change to fiddle with the command line options?

I don't know what is the best. But here is what I know now:

clang-xcode5-wrapper.hs (*1) works as a wrapper in many cases so
far. We need to change the value of "C compiler command" in
settings(*2).

Unfortunately, in some commands, hsc2hs for instance, the command name
"gcc" is hard coded. So, clang-xcode5-wrapper.hs should be installed
as "gcc".  This "gcc" should have higher priority than /usr/bin/gcc in
PATH.

One concern is that users would get troubles with this new gcc.

(*1) 
https://github.com/ghc-ios/ghc-ios-scripts/blob/master/clang-xcode5-wrapper.hs

(*2) 
/Library/Frameworks/GHC.framework/Versions/7.6.3-x86_64/usr/lib/ghc-7.6.3/settings

--Kazu

_______________________________________________
Haskell-platform mailing list
Haskell-platform@projects.haskell.org
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform

Reply via email to