Hi,
I am working on Subsurface Dive Log cross compilation for windows, to update to more recent MXE version. I have resolved most my the issues but I am hitting one that looks like it is related to changes in the mingw toolchain.
The version of MXE we were previously using is from
trying a build from the past week we hit a problem where linking fails to find __imp__timeGetTime
/win/mxe/usr/i686-w64-mingw32.static/lib/libglib-2.0.a(libglib_2_0_la-gmain.o): In function `g_get_monotonic_time':
/win/mxe/tmp-glib-i686-w64-mingw32.static/glib-2.50.2.build_/glib/../../glib-2.50.2/glib/gmain.c:2735: undefined reference to `_imp__timeGetTime@0'
/win/mxe/tmp-glib-i686-w64-mingw32.static/glib-2.50.2.build_/glib/../../glib-2.50.2/glib/gmain.c:2763: undefined reference to `_imp__timeGetTime@0
This appears to be related to use of the TimeGetTime function imported from winmm
Looking at the winmm library it is an indirect reference as listed by nm.
root@2edbf6dd4c3e:/win/mxe# nm -g ./usr/i686-w64-mingw32.shared/lib/libwinmm.a | grep Time
00000000 I __imp__timeGetTime@0
00000000 T _timeGetTime@0
00000000 I __imp__timeGetSystemTime@8
00000000 T _timeGetSystemTime@8
It looks like their has been some churn related to these functions in the past
So I figure I need to find out what version of Mingw we were using before and what version is being used now to get enough information to talk to the Mingw guys.
So where do I find out the version information of mingw for a given version of MXE?
Thanks,
Paul