Hi all.

I've recently downloaded and installed MinGW (GCC 4.7.2) and started rebuilding the libraries/projects I regularly use and I'm facing some issues I hope some of you may be able to shed some light on them.

For instance, while building gettext, I get this linking error:

../libgrep/libgrep.a(regex.o):regex.c:(.text+0xb6b1): undefined reference to `isascii'

C:\MinGW\bin/ld.exe: ../libgrep/libgrep.a(regex.o): bad reloc address 0x70 in section `.rdata'

Then, when running the tests, I get a runtime exception here:

             _set_invalid_parameter_handler could not be located in the dynamic link library msvcrt.dll

Please, don't say it's the antivirus or things like that. I've just rebuilt this same version of gettext using my rather old GCC 4.5.2 and it works ok. What is more, this is a fresh MinGW installation.

Thanks in advance.


$ gcc -v
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.7.2/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --disable-build-poststage1-
with-cxx --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.7.2 (GCC)