[cfe-dev] cfe-dev Digest, Vol 83, Issue 69 full BSD-compatible toolchain without, MinGW and MSVC

Tim Toomay toomayt at toomaytech.com
Mon May 12 15:24:21 PDT 2014


>With the recent rework of the Windows-specific triples it would probably
>be possible to define a compatible Itanium-derived ABI. If you also
>include lld, this would give you a full BSD-compatible toolchain without
>MinGW and MSVC.
>
>-Nico

I am interested in participating in this area, please advise.

On 5/12/2014 9:44 AM, cfe-dev-request at cs.uiuc.edu wrote:
> Message: 2
> Date: Tue, 13 May 2014 00:43:27 +1200
> From: G M<gmisocpp at gmail.com>
> To: Nico Rieck<nico.rieck at gmail.com>
> Cc: cfe-dev<cfe-dev at cs.uiuc.edu>
> Subject: Re: [cfe-dev] anyone knows the current state of libc++ on
> 	windows?
> Message-ID:
> 	<CAGxCow27xh6G+fS8ff3WitoefJB6tzPDKa+OtmN3A3BCaMM7Yw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi
>
>
> On Tue, May 13, 2014 at 12:12 AM, Nico Rieck<nico.rieck at gmail.com>  wrote:
>
>> >On 08.05.2014 15:19, Dennis Luehring wrote:
>>> > >Am 08.05.2014 14:59, schrieb Yaron Keren:
>>>> > >>Why use the combination of: clang compiler & Visual C++ link & Visual
>>>> > >>C++ C
>>>> > >>headers & libcxx C++ headers ?
>>> > >
>>> > >i thought this would be the base for an MinGW free libc++/clang on
>> >Windows
>>> > >clang as my c++ compiler using an libc++ build with clang based on msvc
>>> > >c-runtime headers/lib
>> >
>> >One problem with eliminating MinGW is that the MSVCRT lacks quite a few
>> >things for libc++, and I'm not sure it's such a good idea to stuff all
>> >that compat into libc++. That's why I started a lean
>> >C11/C++11-compatible libc some time ago. Initially just with stubs to
>> >help with testing, but it grew over time. Math routines would be the
>> >primary obstacle here to make it usable.
>> >
>> >When it comes to the ABI, there's no good solution yet. The MS ABI
>> >doesn't quite fit what libc++ expects, and is also missing support for
>> >some C++ features not implemented by MS yet. If you use the
>> >Windows-incompatible Itanium ABI you need MinGW's linker and their hacks
>> >to make it work (this mainly affects vtable/rtti layout and DLLs).
>> >
>> >With the recent rework of the Windows-specific triples it would probably
>> >be possible to define a compatible Itanium-derived ABI. If you also
>> >include lld, this would give you a full BSD-compatible toolchain without
>> >MinGW and MSVC.
>> >
>> >-Nico
>> >
> I thought that. I also wondered at one point if musl-libc:
> http://wiki.musl-libc.org/wiki/Supported_Platforms
> and libcxx would be good pair up.
>
>> >

-- 
Tim Toomay
Toomay Technologies Inc
www.ToomayTech.com




More information about the cfe-dev mailing list