SephiRok - 2012-07-06

Using gcc version 4.7.1 (rubenvb-4.7.1), w64 v2, and linking with -lmsvcr80 produces the same runtime error.

Linking with -lmsvcr90 or -lmsvcr100 produces a link error:
d:/platforms/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/lib/../lib/libmingw32.a(lib32_libmingw32_a-tlssup.o)
: In function `_dyn_tls_init@12':
/home/ruben/mingw-w64/toolchain/src/mingw-w64/tags/v2.0.3/mingw-w64-crt/crt/tlssup.c:98: undefined reference to `_imp___winmajor'
d:/platforms/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/lib/../lib/libmingwex.a(lib32_libmingwex_a-_gmtime32
.o): In function `gmtime32':
/home/ruben/mingw-w64/toolchain/src/mingw-w64/tags/v2.0.3/mingw-w64-crt/misc/_gmtime32.c:10: undefined reference to `_imp__gmtime'
collect2.exe: error: ld returned 1 exit status