On Sun, 4 Sep 2011, Patrice Colet wrote:
Yes there are several changes with new mingw, we have to replace -lpthreadGC2 with -lpthread in makefiles,
Cool, that's a good thing : one less difference between MinGW and Linux/OSX.
Well, after that there will also be libstdc++, so adding " -static-libgcc -static-libstdc++" to LDFLAGS (not CFLAGS :D), or LIBS flags in makefile.mingw will resolve this error, isn't it better to add the flag than copying the dll?
-static-libstdc++ is not in gcc in Ubuntu 10.10 (« gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) »)
Is it a MinGW-only feature ? It sounds like it could be useful in Linux too, if I'm not mistaken. E.g. could it solve the libstdc++ problem that we were having with Gem, GridFlow, ATI drivers, and perhaps some other drivers or libs ?
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC