[cfe-commits] r55830 - /cfe/trunk/lib/Driver/InitHeaderSearch.cpp

Argiris Kirtzidis akyrtzi at gmail.com
Fri Sep 5 02:03:54 PDT 2008


Author: akirtzidis
Date: Fri Sep  5 04:03:53 2008
New Revision: 55830

URL: http://llvm.org/viewvc/llvm-project?rev=55830&view=rev
Log:
Add header search paths for Mingw32 (GCC version 4).

Modified:
    cfe/trunk/lib/Driver/InitHeaderSearch.cpp

Modified: cfe/trunk/lib/Driver/InitHeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/InitHeaderSearch.cpp?rev=55830&r1=55829&r2=55830&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Driver/InitHeaderSearch.cpp Fri Sep  5 04:03:53 2008
@@ -144,6 +144,11 @@
 
     // DragonFly
     AddPath("/usr/include/c++/4.1", System, true, false, false);
+
+    // Mingw32 GCC version 4
+    AddPath("c:/mingw/lib/gcc/mingw32/4.3.0/include/c++", System, true, false, false);
+    AddPath("c:/mingw/lib/gcc/mingw32/4.3.0/include/c++/mingw32", System, true, false, false);
+    AddPath("c:/mingw/lib/gcc/mingw32/4.3.0/include/c++/backward", System, true, false, false);
   }
 
   AddPath("/usr/local/include", System, false, false, false);
@@ -212,6 +217,10 @@
   // DragonFly
   AddPath("/usr/libdata/gcc41", System, true, false, false);
 
+  // Mingw32 GCC version 4
+  AddPath("C:/mingw/lib/gcc/mingw32/4.3.0/include", System, false, false, false);
+  AddPath("C:/mingw/include", System, false, false, false);
+
   AddPath("/usr/include", System, false, false, false);
   AddPath("/System/Library/Frameworks", System, true, false, true);
   AddPath("/Library/Frameworks", System, true, false, true);





More information about the cfe-commits mailing list