rhel-6 mingw conclusions

Farkas Levente lfarkas at lfarkas.org
Tue Jun 21 13:05:04 UTC 2011


hi,
i try to collect here what i did to be able to rebuild the new mingw-64
toolchain on rhel-6. most of the modifications i made i'll shourtly
checkin into Erik's repo:
http://svn.openftd.org/svn/fedora_cross

first of all add the preamble always extended to the default:
-------------------------
%global __strip %{mingw_strip}
%global __objdump %{mingw_objdump}
%global _use_internal_dependency_generator 0
%global __find_requires %{mingw_findrequires}
%global __find_provides %{mingw_findprovides}
%global __debug_install_post %{mingw_debug_install_post}
-------------------------
even if the middle 3 not required on fedora.
replace all %define to %global (which should have to be fixed on the
page too:
https://fedoraproject.org/wiki/Packaging:MinGW_Future


- mingw-crt
update to 20110620 since d3dx9xof.h only checked in after 20110615.
unfortunately it's still not working ie the new d3dvideosink in
gstreamer-bad still not working (but i'm still trying:-)

also add mingw-w64-crt-autoconf.patch which is the diff between the
original and "autoreconf --install --force" on f15 so the autoreconf no
longer needed (since autotool too old on rhel-6).

- mingw-libtiff
drop all autotool run (it seems not really neded)

- mingw-sqlite
if-ed the dll move it doesn't seems to needed on rhel (i don't really
understand why needed on fedora).

- mingw-win-iconv
add versioned cmake BR since old cmake can't build it.

- none of the mingw-gstreamer* package be able to build with debug
subpackage!? and i don't know why! i always got error, but now it works
again!?

-- 
  Levente                               "Si vis pacem para bellum!"


More information about the mingw mailing list