Re: MinGW compilation on Windows and proposed improvements
Matthew Fluet <[email protected]>
| Newsgroups | gmane.comp.lang.ml.mlton.user |
|---|---|
| Message-ID | <CAMrhFL6AjQyHP6s-L3XYKjuDBGKiK6ueu947=uzyypemmL+_sA@mail.gmail.com> |
On Sat, Mar 1, 2014 at 3:03 PM, Anoq of the Sun <[email protected]> wrote: > Matthew Fluet wrote: >> Sorry, I don't know the magic for installing the MinGW build. Wesley >> did most of the work on the MinGW port, and I know that there is a >> bunch of supporting stuff in <src>/package/mingw. Indeed, it looks >> like there is a Makefile there that builds an installer. > > I can see that this is only in the repository, not the > source distribution, Yes, we've not distributed the target-specific packaging code in source distributions. > Firstly, part of the Makefile tries to grab certain > binaries from the URL's that are in the *.url > files under package/mingw/dl/. All of these links > are broken and point to locations under > mlton.org/pages/Experimental/attachments/ (i.e. it > seems to be attachments on the Wiki pages). > I suppose that it is not a good idea to have > URLs in such a place, when a script like this > depends on it, but are those original files > still available somewhere? I found the files in my backups of the old mlton.org site. I've uploaded them to: http://www.mlton.org/misc/mingw/ >> Perhaps it is an issue with the build/bin/mlton script. This script >> is setup to use a SML/NJ-built MLton if it exists, and so invokes >> SML/NJ to determine the SML/NJ heap suffix. Perhaps on some older >> distributions, the combination of the SML/NJ version and the bash >> version results in "if $smlnj -h >/dev/null 2>&1; then" hanging, >> possibly waiting for user-input, since it doesn't have a "< /dev/null" >> stdin redirection. > > I tried adding the stdin redirection that you suggested, > though it had to be done in bin/mlton-script, since > that is copied to build/bin/mlton and this worked! > Very good "guess" there, thanks! :-) I happened to get burned by this behavior of SML/NJ and shell script last week, so it was fresh in my mind. > Finally, I would like to state that it is > very good work that the whole (and quite > elaborate!) process of making a MLton/MSYS > installer has been automated. Good work! (Wesley?). Yes, I'm pretty sure that Wesley did the MinGW build stuff. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk