lib/Frontend/InitHeaderSearch.cpp: Add mingw-w64's include paths.

llvm-svn: 125743
This commit is contained in:
NAKAMURA Takumi 2011-02-17 08:51:47 +00:00
parent 31ea2f14bc
commit 49ddc3646f
1 changed files with 8 additions and 0 deletions

View File

@ -566,6 +566,14 @@ AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple) {
AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", "i686-pc-cygwin", "3.4.4");
break;
case llvm::Triple::MinGW32:
// mingw-w64-20110207
AddPath("c:/MinGW/include/c++/4.5.3", System, true, false, false);
AddPath("c:/MinGW/include/c++/4.5.3/x86_64-w64-mingw32", System, true, false, false);
AddPath("c:/MinGW/include/c++/4.5.3/backward", System, true, false, false);
// mingw-w64-20101129
AddPath("c:/MinGW/include/c++/4.5.2", System, true, false, false);
AddPath("c:/MinGW/include/c++/4.5.2/x86_64-w64-mingw32", System, true, false, false);
AddPath("c:/MinGW/include/c++/4.5.2/backward", System, true, false, false);
// Try gcc 4.5.0
AddMinGWCPlusPlusIncludePaths("c:/MinGW/lib/gcc", "mingw32", "4.5.0");
// Try gcc 4.4.0