Dear list, a while ago you helped me linking against msvcr90.dll using mingw-w64 targeting Win64, see http://sourceforge.net/mailarchive/message.php?msg_id=30556805
In my toolchain I use the MinGW-w64 distribution of openSuse. I reinstalled the sources of the MinGW-w64 runtime, patched the makefile and installed the generated libmoldname90.a files in GCC's lib directories. For the Win64 target, everything works fine. I can even use it in a production environment. For Win32 target, however, I run into the following link error: /usr/i686-w64-mingw32/sys-root/mingw/lib/libmingw32.a(lib32_libmingw32_a-tlssup.o): In function `_dyn_tls_init@12': /home/abuild/rpmbuild/BUILD/mingw-w64-runtime-20120404/crt/tlssup.c:98: undefined reference to `_imp___winmajor' /usr/i686-w64-mingw32/sys-root/mingw/lib/libmingwex.a(lib32_libmingwex_a-_time32.o): In function `time32': /home/abuild/rpmbuild/BUILD/mingw-w64-runtime-20120404/misc/_time32.c:10: undefined reference to `_imp__time' /usr/i686-w64-mingw32/sys-root/mingw/lib/libmingwex.a(lib32_libmingwex_a-_localtime32.o): In function `localtime32': /home/abuild/rpmbuild/BUILD/mingw-w64-runtime-20120404/misc/_localtime32.c:10: undefined reference to `_imp__localtime' /usr/i686-w64-mingw32/sys-root/mingw/lib/libmingwex.a(lib32_libmingwex_a-_mktime32.o): In function `mktime32': /home/abuild/rpmbuild/BUILD/mingw-w64-runtime-20120404/misc/_mktime32.c:10: undefined reference to `_imp__mktime' /usr/i686-w64-mingw32/sys-root/mingw/lib/libmingwex.a(lib32_libmingwex_a-_gmtime32.o): In function `gmtime32': /home/abuild/rpmbuild/BUILD/mingw-w64-runtime-20120404/misc/_gmtime32.c:10: undefined reference to `_imp__gmtime' Any ideas how I could solve this issue ? Do I need to recompile the whole CRT with the new specs ? Even if this works, I do not prefer this option because I will not be able to link against msvcrt.dll and msvcr90.dll using the same toolchain. Best regards Sebastian ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public