[Haskell-cafe] Simple script to make existing GHC or HP installation work with Xcode 5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Haskell-cafe] Simple script to make existing GHC or HP installation work with Xcode 5

KwangYul Seo
Hi,

Your script works well on my machine (OS X 10.9 and Xcode 5) though it
emits the following warning while running configure:

configure: WARNING: unrecognized options: --with-compiler, --with-gcc

BTW, the script does not locate where my settings is. I installed Haskell
Platform using Homebrew and the settings file is under
/usr/local/Cellar/ghc/7.6.3/lib/ghc-7.6.3/settings. It would be good if
your script checks this directory too for Homebrew users.

Thanks,
Kwang Yul Seo



On Thu, Oct 31, 2013 at 4:04 PM, Mark Lentczner <mark.lentczner at gmail.com>wrote:

> Friends -
>
> I've developed a simple shell script that should enable your existing GHC
> 7. or HP installation work with Xcode 5.
>
> https://gist.github.com/mzero/7245290
>
>
> Place that script somewhere, make it executable, and run it.
> *Then follow the instructions it tells you!*
> You will end up having to run it more than once:
>
> First time it will tell you where to install a copy of the script
>
> Second time it will patch your GHC settings file(s)
>
>
> The script is safe to install and setup before you upgrade to Xcode 5, as
> it reverts to "getting out of the way" if it detects Xcode 4 based
> installation.
>
> It has been tested on two machines:
>
>    - OS X 10.8 and Xcode 4
>    - OS X 10.9 and Xcode 5
>
> If a few more intrepid souls test it and it works, I'll post instructions
> in more prominent places!
> I'll be testing OS X 10.9 and Xcode 4, tomorrow, and expect it should work
> fine on OS X10.8 with Xcode 5. But looking for reports that it all works.
>
> - Mark "Mac Packager" Lentczner
>
>
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131205/36614fa2/attachment.html>