[MLton-user] Solaris x86/amd64 MLton build

Matthew Fluet fluet at tti-c.org
Fri Oct 12 21:13:11 PDT 2007


On Tue, 9 Oct 2007, Scott Cruzen wrote:
> I successfully built mlton for Solaris 10 x86, a tar of the install
> directory is here:
> http://lerp.com/~sic/sml/mlton-20070826-solaris-bin.tar.gz
>
> This uses static gmp (from OpenPKG) and all regressions pass using the
> native codegen. It seems that the version of GCC I'm using (4.2.1) is
> affected by the bug that's been mentioned regarding segfaults during
> compilation with profiling info.
>
> Here's a diff -uwr of clean mlton-20070826-1.src.tgz and the sources I
> built from:
> http://lerp.com/~sic/sml/mlton-20070826-solaris.diff.gz

The patch looks o.k., though you should probably conditionally include
float-math.{h,c} and setenv.h via #if (defined (__sparc__)), rather than 
commenting them out completely.




More information about the MLton-user mailing list