title: where are clang c++11 header files
body: <p>I am trying to read and understand some of the c++11 code from clang-3.4. But I couldn't find standard headers. I am using mingw32 and build clang from source to default location at <code>/usr/local/lib/clang/3.4</code>.</p>
  
  <p>I tried to look for  and did</p>
  
  <pre><code>$ find |grep iostream
  </code></pre>
  
  <p>from that folder and it returned nothing. I can however compile code with  fine.</p>
  
  <p>Where are the clang implementation of c++11? Am I looking at the wrong folder? </p>
  
  <p>--- Update ---</p>
  
  <p>I built clang 3.4 from source under Windows XP 64-bit, using mingw32 (from mingw.org). I configured clang/llmv in MSYS using:</p>
  
  <pre><code>./configure --enable-pic --disable-docs --enable-targets=x86,cpp
  </code></pre>
  
  <p>So, I assume that clang is installed to /usr/local/, and indeed find <code>clang/3.4</code> under usr/local/lib. But maybe the header files are elsewhere as suggested by the comment, I did another find/grep in the entire MinGW folder (containing MSYS) and still couldn't find the iostream file. The only thing I got was gcc version:</p>
  
  <pre><code>$ cd /c/mingw
  $ find | grep iostream
  ./lib/gcc/mingw32/4.8.1/include/c++/iostream
  ./mingw32/lib/gcc/mingw32/4.8.1/include/c++/iostream
  </code></pre>
  
  <p>-- Update 2 ---</p>
  
  <p>I tried install libcxx, using cmake</p>
  
  <pre><code>cmake -G"MSYS Makefiles" ../libcxx-3.4
  make
  </code></pre>
  
  <p>, and got the following error:</p>
  
  <pre><code>...
  [100%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/support/win32/support.c
  pp.obj
  d:/temp/tdm/libcxx-3.4/src/support/win32/support.cpp: In function 'size_t wcsnrt
  ombs(char*, const wchar_t**, size_t, size_t, mbstate_t*)':
  d:/temp/tdm/libcxx-3.4/src/support/win32/support.cpp:134:88: error: 'wcrtomb_s'
  was not declared in this scope
               result = wcrtomb_s( &amp;char_size, dst + dest_converted, dest_remainin
  g, c, ps);
  ...
  </code></pre>