Re: [MLton] follow-up [compiling mlton on latest mingw]
Bernard Berthomieu <[email protected]> Tue, 06 Jan 2015 23:07:28 +0100
| Newsgroups | gmane.comp.lang.ml.mlton.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Wesley,
On 1/6/15 5:56 PM, Wesley W. Terpstra wrote:
> Is there a reason you don't want to use the old gcc that I got working
> with it in the past? I spent some time submitting patches to both gcc
> and MLton to get them working together last time. I doubt MLton has
> changed enough to break compatibility with that version of gcc.
I've been happily using your mlton-2010/mingw distribution since it was
made available; many thanks for that effort.
But:
To benefit from some mlton improvements, we want to switch in the
near future from mlton-2010 to mlton-2015 on all our targets systems,
including mingw 32 and 64 bit.
mlton as of 12/2014 can be bootstrapped from mlton-2010 and gcc 4.4.3
with minor tweaks in Makefiles, but lots of gcc warnings are printed.
A simple refresh of your mingw distribution with mlton-2015 might work
but the effects of all these warnings must be evaluated ...
For a parent project, we need a recent boost library. It would be nice if we
could use the same mingw environment for both projects. Not sure current
boost can be compiled, and works, on 4.4.3.
gcc 4.4.3 is about 5 years old; gcc 4.9.X is hopefully a better compiler.
Also, mingw 64bit is certainly more stable today than it was 5 years ago.
So, for these reasons, I would favor a bootstrap of mlton-2015 on a recent
mingw gcc. My environment makes use of two separate gcc (4.9.2) compilers,
for 32 and 64 bit, but a cross-compiling gcc like in your distribution
would be
equally adequate though perhaps a bit more difficult to upgrade.
I could bootstrap the current mlton in that environment, but only in 32bit
so far (see my 12/22/2014 message). Some gcc warnings are still printed,
but much less than on gcc-4.4.3, and easily fixed.
Bernard.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net