[MLton-devel] yeah, that did the trick

Stephen Weeks MLton@mlton.org
Mon, 16 Sep 2002 20:40:18 -0700

> > > smith-normal-form and harmonic are dumping core,
> > > most of the other regressions are fine.
> > > For some reason there are lots of these:
> > > /usr/libexec/elf/ld: warning: type and size of dynamic symbol `__mpn_lshift' are not defined
> > > /usr/libexec/elf/ld: warning: type and size of dynamic symbol `__mpn_rshift' are not defined
> It's part of the base system, so it's actually kind of a pain to upgrade
> - a newer version will go into /usr/local/ and then I'll have to be
> careful to avoid the old libs and includes...
> I'll build version 4 and try to link against that.

I just built gmp-4.0.1 on FreeBSD and put gmp.h in
/usr/local/lib/mlton/self/include and libgmp.a in
/usr/local/lib/mlton/self.  After that, harmonic and smith-normal-form
both compile and run fine.  So, I think that means there are no known
problems on FreeBSD.  I'll try self compiles tonight.

It looks like the right thing to do for packaging purposes is to ship
gmp.h and libgmp.a as part of the FreeBSD binary tgz.

Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
MLton-devel mailing list