You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sadly, I had to drop the MinGW targets from qtbase after realizing that it doesn't build. 4c530e2
I don't think MXE really wants to maintain forks of MinGW or Qt to keep them compatible. The Qt project no longer officially supports MinGW, having focused on MinGW-w64. In the past it's been possible to fix things up, but I question whether it's still worth the effort.
We've recently switched to MinGW-w64 on the sigrok project as well, e.g. for some newer features in libserialport (commit) that needed newer USB-related DDK APIs that are not available in MinGW (thus we tried ugly hacks, that only partially worked, if at all).
I can only speak for sigrok, the reason we used MinGW instead of MinGW-w64 there was simply because it was the default and I didn't realize (or care) that there were other build targets initially (until the above issues appeared).
As far as I'm concerned there's no problem making MinGW-w64 the default and/or dropping MinGW completely (assuming that all packages that built with MinGW build with MinGW-w64 as well). The situation may be different for other projects though, dunno.
For the limited set of stuff we need right now (glib libzip libusb1 libftdi qt boost check) MinGW-w64 works just fine and since we want Qt5 (and more recent glib/glibmm as well), MinGW is a no-go for us either way.
Most of those were fairly straightforward to update, there's only dcmtk and hdf4 remaining. I'd suggest we switch over the default target sooner rather than later.
As to removing MinGW 3 completely, I'd initially thought we could leave it there for a release cycle or two with deprecation warnings. Now I'm leaning towards removing it before the next release, the longer it's somewhat supported, the harder it will be for people to change down the track, and the more work we'll have to do deciding what to disable or try to fix.
Nice! I'm happy to leave hdf4 in a disabled state till either the project updates to mingw-w64 or users request support. It's a legacy format and there are tools to migrate to hdf5 - library support isn't that critical.
I think complete removal of MinGW v3 is the way to go, the question is how we handle existing build scripts and other blog/StackOverflow references to i686-pc-mingw32. Alias, warn, or fail?
I'm happy to leave hdf4 in a disabled state till either the project updates to mingw-w64 or users request support. It's a legacy format and there are tools to migrate to hdf5 - library support isn't that critical.
+1. I'll take a stab at it probably in a week.
I think complete removal of MinGW v3 is the way to go, the question is how we handle existing build scripts and other blog/StackOverflow references to i686-pc-mingw32. Alias, warn, or fail?
I'd rather go with aliasing and warning, like the current .static warning. These warnings should be changed to errors after the release.
Activity
uwehermann commentedon Aug 28, 2014
We've recently switched to MinGW-w64 on the sigrok project as well, e.g. for some newer features in libserialport (commit) that needed newer USB-related DDK APIs that are not available in MinGW (thus we tried ugly hacks, that only partially worked, if at all).
I can only speak for sigrok, the reason we used MinGW instead of MinGW-w64 there was simply because it was the default and I didn't realize (or care) that there were other build targets initially (until the above issues appeared).
As far as I'm concerned there's no problem making MinGW-w64 the default and/or dropping MinGW completely (assuming that all packages that built with MinGW build with MinGW-w64 as well). The situation may be different for other projects though, dunno.
For the limited set of stuff we need right now (glib libzip libusb1 libftdi qt boost check) MinGW-w64 works just fine and since we want Qt5 (and more recent glib/glibmm as well), MinGW is a no-go for us either way.
TimothyGu commentedon Sep 4, 2014
This is a very good question. My opinion on this would be keep MinGW until i686-w64-mingw32 supports all the packages MinGW supports.
Right now, i686-w64-mingw32 doesn't support the following packages i686-pc-mingw32 supports:
The stats does not include the following:
libmikmod: update and support mingw-w64
plibc & libmicrohttpd: enable i686-w64-mingw32 (see #492)
netcdf: enable i686-w64-mingw32 (see #492)
openscenegraph: update and enable *-w64-* (see #492)
tonytheodore commentedon Oct 3, 2014
Most of those were fairly straightforward to update, there's only dcmtk and hdf4 remaining. I'd suggest we switch over the default target sooner rather than later.
As to removing MinGW 3 completely, I'd initially thought we could leave it there for a release cycle or two with deprecation warnings. Now I'm leaning towards removing it before the next release, the longer it's somewhat supported, the harder it will be for people to change down the track, and the more work we'll have to do deciding what to disable or try to fix.
TimothyGu commentedon Oct 3, 2014
@tonytheodore wrote:
Nice job! I have tried to update a few like winpcap and plibc, but without success. Have you tested building them?
+1. No problem on my end.
tonytheodore commentedon Oct 3, 2014
@TimothyGu wrote:
Only building, not running, but the downstream deps (libdnet libmicrohttpd) build okay also.
Makefile: update default target to i686-w64-mingw32.static (see #492)
TimothyGu commentedon Oct 3, 2014
@tonytheodore wrote:
Ok then.
dcmtk: Enable on i686-w64-mingw32
TimothyGu commentedon Oct 8, 2014
dcmtk ported.
tonytheodore commentedon Oct 9, 2014
Nice! I'm happy to leave hdf4 in a disabled state till either the project updates to mingw-w64 or users request support. It's a legacy format and there are tools to migrate to hdf5 - library support isn't that critical.
I think complete removal of MinGW v3 is the way to go, the question is how we handle existing build scripts and other blog/StackOverflow references to i686-pc-mingw32. Alias, warn, or fail?
TimothyGu commentedon Oct 9, 2014
@tonytheodore said:
+1. I'll take a stab at it probably in a week.
I'd rather go with aliasing and warning, like the current
.staticwarning. These warnings should be changed to errors after the release.guile: enable i686-w64-mingw32 build (see #492)
Remove i686-pc-mingw32
hdf4: Enable on i686-w64-mingw32
TimothyGu commentedon Oct 14, 2014
hdf4 ported. i686-pc-mingw32 removed. Bug fixed.