On Wed, 2011-08-10 at 14:09 +0200, Farkas Levente wrote:
first of all which binutils to use? imho always the latest release
(currently binutils-2.21.53.0.2), but in fedora rpms there are many
patches. should we use them too? imho yes. these packages made by many
those people who really know what patches to add. most of these patches
are linux specific but this means those are not bother windows build and
it'd be easier not to select patches just use fedora patches.
I don't really share that opinion. Those patches which are in binutils
and gcc have been added there by the Fedora maintainers to mostly fix
some non-upstreamed issues which are specific to the Fedora Linux
environment. We can't be certain that these patches won't break anything
for the mingw target. If we have any issues with the toolchain then the
upstream mingw-w64 developers can help us better if we use a non-patched
copy of the toolchain packages.
The only point where I think patches are okay is when the upstream
mingw-w64 developers recommends specific patches to us.
the same apply to gcc, but in case of gcc i'd be more
conservative and
still using 4.5.3 until everybody upgrades. currently most other mingw
compiled project use 4.5.x and if we use 4.6.x than there can be
conflict. but i also add all fedora's gcc patches to the mingw rpm too.
For gcc I think we should stick with the native version used by Fedora
(without any patches). We already pushed the Fedora mingw32-gcc package
to version 4.6 so there's no point in going back to 4.5 now.
Regards,
Erik