[cfe-dev] libstc++ with clang 3.3

kumail kumail89 at gmail.com
Tue Sep 10 07:33:15 PDT 2013


clang++ does create an .bc file for the following program. But when I run
this with lli, it always gives an error related with libstdc++. 

Is there some problem in clang 3.3? How can I tell clang++ to include
libstdc++ when compiling?

This problem only comes with .cpp extension, there's no problem with .c
extension.


My code:


#include<iostream>

using namespace std;

int main() {

cout<< "Hello World" <<endl;

return 0;

}




--
View this message in context: http://clang-developers.42468.n3.nabble.com/libstc-with-clang-3-3-tp4034374.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list