RE: GHC 5.02.1 on Mac OS X

Sebastien Carlier [sebc@posse42.net] was at one time working on a MacOSX port, but I don't know how far he got. There was one other person too, but I can't lay my hands on appropriate email. Simon | -----Original Message----- | From: Ashley Yakeley [mailto:ashley@semantic.org] | Sent: 02 December 2001 22:50 | To: Nicolas Oury; GHC List | Subject: Re: GHC 5.02.1 on Mac OS X | | | At 2001-12-02 14:39, Nicolas Oury wrote: | | >do you know if there is a port of gh 5.02.1 on MacOSX? | | The latest I know of is GHC 5.00.2. And even that is incomplete, it | doesn't seem to include a createAdjustor for 'foreign export dynamic' | functions (if you happen to need that, as I do). | | -- | Ashley Yakeley, Seattle WA | | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-| haskell-users |

"Simon Peyton-Jones"
Sebastien Carlier [sebc@posse42.net] was at one time working on a MacOSX port, but I don't know how far he got. There was one other person too, but I can't lay my hands on appropriate email.
The other person was Atze Dijkstra

Nicolas Oury
We may be doing some work on Mac OS X here over summer (that's *southern* hemisphere summer!) More generaly, how hard these kinds of ports are. (How much code must you rewrite?)
It's not so much a question of how much code, but how complicated that code is. Some of it is pretty low-level, but there are usually also a couple of people around who are happy to answer questions. Manuel

Simon Peyton-Jones wrote:
Sebastien Carlier [sebc@posse42.net] was at one time working on a MacOSX port, but I don't know how far he got.
I worked on the unregisterised (via-C) build of GHC. My patches solved most of the incompatibilities with Apple's version of GCC, and the problems with the memory layout of OS X, but was indeed incomplete (no implementation of createAdjustor). Recently my patches stopped working so I couldn't package a 5.02 release. (executables crash after a while, this is probably GC-related). I am currently studying the PowerPC instruction set (I need to write a native code generator for my own project), and I also had a look into GHC's Stix, but I don't know when I'll be able to start (time is the biggest problem). -- Sebastien

Sébastien Carlier
Simon Peyton-Jones wrote:
Sebastien Carlier [sebc@posse42.net] was at one time working on a MacOSX port, but I don't know how far he got.
I worked on the unregisterised (via-C) build of GHC. My patches solved most of the incompatibilities with Apple's version of GCC, and the problems with the memory layout of OS X, but was indeed incomplete (no implementation of createAdjustor). Recently my patches stopped working so I couldn't package a 5.02 release. (executables crash after a while, this is probably GC-related). I am currently studying the PowerPC instruction set (I need to write a native code generator for my own project), and I also had a look into GHC's Stix, but I don't know when I'll be able to start (time is the biggest problem).
Are your patches (I mean the old ones) public? Did you already check them into CVS? If others want to continue on the port, it would be easier to start from your patches instead of starting all over again, I guess. Cheers, Manuel

Are your patches (I mean the old ones) public?
Yes, of course. They were on the download page of ghc's web site, but since the release of GHC 5.02.1 they are no longer there.
Did you already check them into CVS?
The harmless and clean ones, yes. I'll take the time to clean up and commit the rest to the repository before the end of the week. I can also mail you my patched in the meantime.
If others want to continue on the port, it would be easier to start from your patches instead of starting all over again, I guess.
Yes. I'll also try to write a few notes about the problems they will encounter. -- Sebastien

Sébastien Carlier
Did you already check them into CVS?
The harmless and clean ones, yes. I'll take the time to clean up and commit the rest to the repository before the end of the week. I can also mail you my patched in the meantime.
We won't start on this before middle of December.
If others want to continue on the port, it would be easier to start from your patches instead of starting all over again, I guess.
Yes. I'll also try to write a few notes about the problems they will encounter.
That would be great. Thanks, Manuel
participants (4)
-
Manuel M. T. Chakravarty
-
Nicolas Oury
-
Simon Peyton-Jones
-
Sébastien Carlier