From: fiveight <fiv...@to...> - 2012-09-11 08:35:11
|
Hi All! I build Clang 3.1 with VS2008, and I install MinGW 4.7 in my Windows 7 too. I write main.cpp file like this: #include <iostream> using namespace std; int main() { cout << "Hello World!\n" << endl; return 0; } When I build main.cpp with MinGW GCC: g++.exe main.cpp -o main.exe main.exe can execute good. But When I build main.cpp with Clang: clang++.exe -ccc-host-triple i386-pc-mingw32 main.cpp -o main.exe After main.exe print "Hello World", it crash in libstdc++-6.dll module. How can I resolve this problem? or I have to degrade to MinGW 4.6.2? Thanks! fiveight fiv...@to... 2012-09-05 |