[MLton] Re: MLton on Darwin/PowerPC

Matthew Fluet fluet@cs.cornell.edu
Thu, 21 Apr 2005 22:24:06 -0400 (EDT)

Yes, other users of MLton on MacOS have encountered the same problem.  
Since the last release, we've eliminated the absolute path to gmp.h in
platform/darwin.h, which means that adding a -link-opt flag to the mlton
script should work.  It may be worthwhile to add /sw/include and /sw/lib
to the mlton script.

On Thu, 21 Apr 2005, John Reppy wrote:

> I've been playing around with getting MLton working on my Mac and I have
> a few suggestions.  The main issue is with gmp.  I suspect that most
> users will get gmp from fink, which means that the relevant files will
> be in /sw/include and /sw/lib.  I was only able run the binary download
> after addin a symbolic link to /sw/lib/libgmp.3.dylib in /usr/local.  I
> tried adding a "-link-opt' flag to the mlton script, but that didn't
> help.  I also changed the include path for gmp.h in
> usr/lib/mlton/include/platform/darwin.h.
> 	- John
> On Sep 27, 2004, at 8:16 PM, Stephen Weeks wrote:
> >
> > Hi John.  I thought you might like to know about our recent port of
> > MLton to Darwin/PowerPC.  If you want to try it out, there's an
> > experimental binary package at
> >
> > 	http://www.mlton.org/experimental/mlton-20040927-1.powerpc-darwin.tgz
> >
> _______________________________________________
> MLton mailing list
> MLton@mlton.org
> http://mlton.org/mailman/listinfo/mlton