[cfe-dev] Why no Debian package for libc++?

Arji Cot arjicot at gmail.com
Mon Jul 29 00:48:41 PDT 2013


Well FreeBSD is not Linux, also llvm is a project mainly focused on Mac OS,
and MAC OS is part of the BSD world, no surprise that if something is
supported under MAC OS, it's probably portable under any other BSD OS.

The main reason why I'm not sharing your view is simple: if this is true I
can't explain why the llvm project keeps considering libc++ and libc++abi
as "experimental" under linux. I mean if you can even build the kernel and
libc++ really is libstdc++-free and libsupc++-free what else do you need to
mark it as a reliable library ?

2013/7/29 Ben Pope <benpope81 at gmail.com>

> On 29/07/13 14:55, Arji Cot wrote:
> > Those are dynamically linked libraries, for what you know you could have
> > libsupc++ statically linked to your libc++/abi or to at least of those
> > libraries.
>
> Its a fair point, but...
>
> > I'm not aware of any linux distribution or libc++ build under linux that
> > is just using libc++ without libstdc++ or libsupc++, for what I know, at
> > this point in time, libc++, at least under linux, is using libstdc++ and
> > libsupc++ to provide a complete C++ support and filling the blanks that
> > are still not supported by the library.
>
> FreeBSD 10 has switched to libc++ and libcxxrt and is working towards a
> C++ toolchain that is free of GPLv2, according to the docs, it doesn't
> rely upon libsupc++:
>
> https://wiki.freebsd.org/NewC%2B%2BStack
>
>
> > I think that libc++ will reach the indendpence from the GNU libs if and
> > only if it will provide a complete C++ environment.
>
> As far as I know it pretty much does, aside from using libgcc_s which
> may be replaceable by libunwind.  In order to link against other
> libraries on the system, some of these bits are required anyway, it's a
> convenience thing.
>
> I don't think there is very much stopping a linux distribution switching
> entirely to libc++ with libcxxrt and libunwind, dropping GCC entirely.
> Of course, it would be a massive pain for the users when they have to
> build everything from source as practically no binary in existence today
> will work on their system.
>
> Ben
>
> _______________________________________________
> 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/20130729/b0b60631/attachment.html>


More information about the cfe-dev mailing list