[cfe-dev] libstc++ with clang 3.3
JF Bastien
jfb at google.com
Tue Sep 10 09:48:16 PDT 2013
Which error are you seeing? -stdlib=libstdc++ should work?
On Tue, Sep 10, 2013 at 7:33 AM, kumail <kumail89 at gmail.com> wrote:
> 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.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130910/95990218/attachment.html>
More information about the cfe-dev
mailing list