On Mac OSX 10.9, the default Xcode compiler is clang . I installed gcc-4.9 using homebrew . Now I have two different gcc s, one is clang , the other is gcc . The default is clang .
I want to use gcc when compiling Haskell files with ghc , and also want gcc when running ghci . How to do it?
source share