Hi cfe-dev,<div><br></div><div>I've installed llvm/clang 3.1 on my debian testing box and I must say its working pretty well. I decided to be braver and use the completion mode in emacs, which, if I understood things correctly, relies on the clang compiler driver. The problem I have is that when I use the clang compiler driver I it doesn't seem to be able to locate the standard library:</div>
<div><br></div><div><div>$ clang -cc1 -fsyntax-only hello.cpp </div><div>hello.cpp:1:10: fatal error: 'iostream' file not found</div><div>#include <iostream></div><div>         ^</div><div>1 error generated.</div>
</div><div><br></div><div>But all is well with the GCC driver:</div><div><br></div><div><div>$ clang -fsyntax-only hello.cpp </div><div>$</div></div><div><div><br></div><div>I've tried adding -stdlib=libstdc++ but had no luck. How to I convince the clang compiler driver to find the GCC standard library?</div>
<div><br></div><div>Many thanks for your time,</div><div><br></div><div>Marco</div>-- <br>So young, and already so unknown -- Pauli<br><br>blog: <a href="http://mcraveiro.blogspot.com" target="_blank">http://mcraveiro.blogspot.com</a><br>

</div>