I tried to compile basic programs on a Win64 machine using a native x86_64-pc-mingw32 compiler. This program works with gcc: #include <stdio.h> int main() { printf("Hello, world!"); return 0; } I then tried g++ with this (notice I'm not even using cout): #include <iostream> int main() { return 0; } And I get this from g++ -E: In file included from <built-in>:0: <built-in>:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Suggestions?