ghc 7.0.4 with the new Xcode 4.3

Luca Ciciriello luca_ciciriello at hotmail.com
Fri Feb 17 16:59:40 CET 2012


Hi All.
If you have ghc 7.0.4 on Mac OS X 10.7.3 and you have recently installed the new Xcode 4.3, here a workaround to continue using ghc without the /Developer folder (removed with Xcode 4.3).

Workaround:
from terminal type:

sudo emacs /Library/Frameworks/GHC.framework/Versions/7.0.4-x86_64/usr/bin/ghc-7.0.4

then insert your psw.

in emacs change the line 

pgmgcc="/Developer/usr/bin/gcc"

in 

pgmgcc="gcc"

save all.

Now Your ghc should be working properly.

Bye.

Luca.


More information about the Glasgow-haskell-users mailing list