On 04.10.2011, at 11:28, Duncan Coutts wrote:
On Mon, 2011-10-03 at 22:50 -0700, Mark Lentczner wrote:
Here's where I am:
Today I managed to build a 32-bit version HP 2011.3.0.0 (based on
GHC 7.0.4
from GHC central). This installs and runs on 10.6 and 10.7 (with
some tweaks
applied to the ghc script). It will not run on 10.5 because the
executables
in the GHC distro (ghc, cabal, etc...) were not built compatible with
10.5[1].
Thanks very much for working on this.
Hello,
I've just built and installed both GHC 7.0.4 and the HP 2011.3.0.0 on
OS X 10.5,
and did not run into any problems (plain ./configure && make && make
install
worked fine). I tested it a little bit, at least the OpenGL
application 'monadius'
works without any problems.
My System:
Darwin Kernel Version 9.8.0 i386
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
Xcode 3.1.3
I'm pretty sure I will be able to build a 64-bit version as well,
subject to
the same caveats. I have some scripting magic to take care of
things I had
to do by hand, and I want to put the prior-version uninstaller in
this
release. But then I'm good to go.
So - I suggest we proceed, and abandon 10.5 for this release.
Ok. Is 10.5 still popular? I presume we'll need to flag this up on the
download page and direct 10.5 users to the previous HP release.
Personally, I do not care if there is no dedicated distribution for 10.5
as long as building the platform from source works. Maybe one could
add a note that this is also possible (in addition to using older
versions).
Best Regards,
Benedikt
In the future, we should try get the GHC build to work as far back as
10.5 for 32-bit builds.
Is there anything that the upstream ghc devs need to fix or be aware
of?
Also - I have some patches to the haskell-platform repo -- changing
the
.cabal file isn't quite enough, the versions appear a few other
places as
well. I can send Duncan a patch file, or you can add me to the
proper group
on code.haskell.org (I'm MtnViewMark there) so I can push over ssh.
Done. You should now be able to push over ssh.
[1] The executables die with
dyld: unknown required load command 0x80000022
A little bit of googling yields that this is indicative of being
compiled
with in an environment where the default SDK and min version were
10.6. To
change requires linking with:
-mmacosx-version-min=10.5
(and possibly compiling against the 10.5 SDK, though that shouldn't
be
needed since the GHC build should use nothing from the 10.6 SDK
that isn't
in the 10.5 SDK.)
So is this something the ghc devs need to fix in the osx build
scripts?
Given this info, would it be easy enough for an OSX hacker to prepare
and test a patch for the ghc build system? Perhaps we can find a
volunteer to try this. We noticed at the recent Haskell Implementors
Workshop that most of the Haskell hackers in the room were now OSX
users, so we ought to be able to find volunteers.
Duncan
_______________________________________________
Haskell-platform mailing list
Haskell-platform@projects.haskell.org
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform
_______________________________________________
Haskell-platform mailing list
Haskell-platform@projects.haskell.org
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform