Success! I finally got
SMLNJ and the
MLton optimizing compiler to work with Windows. I am very happy about this, as I had been trying for quite a while and ran into various annoying compilation and DLL problems. (Really mlton was the difficult one.) Here's how I did it.:
Comments 7
Reply
Reply
Reply
I still can't get my SML/NJ code to compile with mlton. Very frustrating.
Reply
Well this post was partly a joke (because it's a little ridiculous that this is the only way I can get it to work in Windows) and partly serious (because I really am completely content with this solution).
Really, I would give the VM solution a try. Overall it only took about 30 minutes to get mlton up & running with this approach, and that INCLUDES the download of Ubuntu, although granted that was from CMU with a fast Internet pipe.
The one caveat is, if I actually wanted a Windows EXE, so that I could say give it to other people who use Windows, I would not be able to do it. If I had that need, I would beg and plead Tom VII to tell me how to do it.
Peace
Reply
--Rand
Reply
Yes, DLLs are like the final CS frontier and I am afraid I will never fully understand how they work. I think that Java has spoiled me in this way, since jars more or less work.
Reply
Leave a comment