xcode 5 psa info on haskell platform page

Mark Lentczner mark.lentczner at gmail.com
Mon Oct 28 20:43:08 GMT 2013


On Mon, Oct 28, 2013 at 12:36 PM, Carter Schonwald <
carter.schonwald at gmail.com> wrote:

> GHC HQ (with Darin's amazing help), are going to make available a 7.6.4
> hotfix release in the next few weeks.
>

I'm happy for this. I'd like to know two things:

1) What set of patches are being considered? The previously discussed set
of pathcs (darinmorrison/ghc <https://github.com/darinmorrison/ghc>) seemed
to me to produce a GHC that would only work on the version of Xcode it was
compiled on. That is, GHC compiled on Xcode 5 wouldn't work on systems with
Xcode 4 and vice-versa.

2) When? Can we move discussion of 7.6.4 to the ghc dev mailing list? As
the Mac HP packager, I'd like to be involved.

GHC 7.6.4 will be the recommended GHC 7.6 variant  for OS X folks, whether
> they use haskell platform or not. (for those who don't choose to migrate
> 7.8 immediately, which will be many, for the usual reasons)
>

Meaning GHC central is going to suggest to people that they use GHC's 7.6.4
installer over any HP?


>  Haskell Platform Fall 2013 is coming soon, and we strongly recommend
> that this fall's HP release use this new 7.6.4 GHC, because that will
> enable there to be a single haskell platform release that will work on all
> OS X variants without an additional burden on Haskell Platform.
>

I realize that HP 2013.4.0.0 is late due to me... but this at least opens
the opportunity for it to include 7.6.4. That said, and realizing the irony
of the question.... When? If 7.6.4 isn't out and let to settle for a week
or two until end-of-Nov.... it is going to make HP 2013 very late indeed!


> Speaking as someone who's done A LOT of support helping people deal with
> Xcode 5 and OS 10.9 update woes in the past 4+ months, and recognizing that
> there *will be people somehere using 10.8 / xcode 4 and then upgrading over
> the next few months*, the wrapper approach will break there. Are you
> committing to maintaining that wrapper?
>

Why would a wrapper break? As far as I can see, a built GHC only needs to
be predicated on if it on a system with Xcode 4 or Xcode 5. The version of
the OS, for a built compiler, is moot. It is easy for a script to detect
which Xcode version (at the very least, key off of 'gcc --version' output).
So why can't we build a wrapper today that makes GHC 7.6.3 work in all
these configurations:

   - 10.8 & Xcode 4 (this is just the wrapper getting out of the way)
   - 10.8 & Xcode 5 (admittedly least likely combo)
   - 10.9 & Xcode 4 (tried this today, seems to work with both CPP .hs
   files and TH)
   - 10.9 & Xcode 5 (the case where the wrapper does what it does)

Again, I'm not talking about being able to build GHC, just use the
released, already built GHC 7.6.3?

- Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/haskell-platform/attachments/20131028/7face648/attachment-0001.htm>


More information about the Haskell-platform mailing list