On Wed, Sep 24, 2014 at 8:48 AM, Óscar Fuentes <o...@wanadoo.es> wrote:

> David Chisnall <david.chisn...@cl.cam.ac.uk> writes:
>
> > <atomic> is trivial, as most of the support is provided by the
> > compiler. As of Vista, Windows comes with some quite sane primitives
> > for implementing <mutex> and <thread>, so it would only be 1-2 days of
> > work for someone to write the implementation for libc++.
>
> Forcing Clang to depend on libc++ makes things quite complicated for the
> end user. For the Windows case, building Clang without cross-compiling
> could be impossible, if it requires that libc++ must be compiled by
> Clang.


The only way Clang would depend on libc++ is if you weren't able or willing
to use one of the other host toolchains to cross to windows. Both mingw-w64
and the threads-posix stuff which supports C++11 <thread> would work fine
as well.
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to