[cfe-dev] libstc++ with clang 3.3
Reid Kleckner
rnk at google.com
Thu Sep 12 09:49:59 PDT 2013
If you're using mingw, make sure you're using the right OS in the triple.
This is usually a flag like --target=i686-pc-mingw32. clang may be
defaulting to an OS of win32, which has a slightly different C ABI w.r.t.
passing records by value, bitfields, and other little things.
You should also try to get a stack trace with gdb to get more information.
On Wed, Sep 11, 2013 at 10:56 AM, kumail <kumail89 at gmail.com> wrote:
> Hello Bastein,
>
>
> I did include -stdlib=libstdc++ in the command line. Clang does generate a
> .bc file, but when I run the .exe file, the program crashes immediately.
> Windows gives the following error: "Your application has stopped working".
>
> I think it has something to do with libstdc++-6.dll.
>
>
>
> --
> View this message in context:
> http://clang-developers.42468.n3.nabble.com/libstc-with-clang-3-3-tp4034374p4034404.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/20130912/22364b1f/attachment.html>
More information about the cfe-dev
mailing list