protz / ocaml-installer

The official windows installer (built using NSIS) for OCaml
http://protz.github.com/ocaml-installer/
GNU General Public License v3.0
66 stars 11 forks source link

-mno-cygwin also doesn't work with latest mingw gcc #7

Closed jim-grundy closed 12 years ago

jim-grundy commented 12 years ago

First, thanks for doing this - fantastic work.

The issue is that it is not just the version of gcc that ships with cygwin that no longer accepts the -mno-cygwin flag, the version that ships with mingw installer as of 2011-11-18 no longer does either. The work around is to remain on the previous mingw installer version (released on 2011-08-02) .

protz commented 12 years ago

Correct. We've changed the entire toolchain in the trunk version of OCaml. The combo is now:

I'm unsure as to how that plays with MSys, but for the next iteration of the installer, I will either:

In the meanwhile, yes, it's a little broken, and it's a shame. I just need to find time to rebuild a newer installer, and I don't have much time right now.

jim-grundy commented 12 years ago

No problem.

For what it is worth - the last but-one MSys just works with your installer would, and if you build the next one the same way then I expect it will work with the current one.

I for one would prefer the following solutions in order of preference:

Anyway, I have a solution that works for me now and I'll sure will keep me happy for a long time. You might just want to mention on the web page which version of MSys people will need to get success.

Thanks

Jim

-----Original Message----- From: Jonathan Protzenko [mailto:reply@reply.github.com] Sent: Tuesday, 07 February, 2012 01:05 To: Grundy, Jim D Subject: Re: [ocaml-installer] -mno-cygwin also doesn't work with latest mingw gcc (#7)

Correct. We've changed the entire toolchain in the trunk version of OCaml. The combo is now:

I'm unsure as to how that plays with MSys, but for the next iteration of the installer, I will either:

In the meanwhile, yes, it's a little broken, and it's a shame. I just need to find time to rebuild a newer installer, and I don't have much time right now.


Reply to this email directly or view it on GitHub: https://github.com/protz/ocaml-installer/issues/7#issuecomment-3844649

protz commented 12 years ago

I'm currently working on a refresh of the installer, and I've switched to the newer toolchain, including a newer version of flexlink (the linker), which will not call -mno-cygwin at all anymore.