[cfe-dev] anyone knows the current state of libc++ on windows?

Dennis Luehring dl.soluz at gmx.net
Thu May 8 03:29:59 PDT 2014


>MinGW does not have its own C library, it uses MSVCRT for C library.
>So practically any program compiled with MInGW depends on MSVCRT.

but why is then MinGW needed at all - is the MinGW c library in use as 
an wrapper
or can't clang directly compile(link) agains MSVCRT?


Am 08.05.2014 12:15, schrieb Yaron Keren:
> MinGW does not have its own C library, it uses MSVCRT for C library.
> So practically any program compiled with MInGW depends on MSVCRT.
>
> Yaron
>
>
>
> 2014-05-08 13:05 GMT+03:00 Dennis Luehring <dl.soluz at gmx.net>:
>
> > I routinely compile libc++ & libcxxabi with clang as
> >> compiler and link with MinGW 4.8.2 (gcc calling ld)
> >> as an replacement for libstdc++.
> >>
> >
> > did you ever checked linking with "Microsoft Visual C Run-Time Library"
> > (MSVCRTxyz)
> > so that the dependencies are only libc++ & libcxxabi & MSVCRT - is that
> > possible
> > or are there still compile/link problems with microsoft stuff
> >
> >
> > Am 08.05.2014 11:30, schrieb Yaron Keren:
> >
> >  Hi Dennis,
> >>
> >> I routinely compile libc++ & libcxxabi with clang as compiler and link
> >> with
> >> MinGW 4.8.2 (gcc calling ld) as an replacement for libstdc++. It builds
> >> and
> >> overall works. I have run the tests some while ago, most passed but there
> >> were failures, have not looked in depth.
> >>
> >> libc++ compiled with gcc - gcc 4.7 could not handle some of the "advanced"
> >> C++ code in libcxx. Have not tested with 4.8 or the just released 4.9.
> >>
> >> libc++ with Visual C++ - there were multiple C++ compatibility problems
> >> even with VC 2013.
> >> Someone named "G M" had tried this for a while and some of his patches
> >> were
> >> comitted, search on the list for "G M".
> >> The latest Visual C++ is 2013 Update 2, MS are imporving VC C++ support
> >> every version, you can try building libcxx with it and see what fails now.
> >> The free express version is available here
> >>
> >>   http://www.microsoft.com/en-us/download/details.aspx?id=40787
> >>
> >> Yaron
> >>
> >>
> >>
> >> 2014-05-08 10:04 GMT+03:00 Dennis Luehring <dl.soluz at gmx.net>:
> >>
> >> > but not using Visual C++.
> >> >>
> >> >
> >> > sorry for my unprecise question
> >> >
> >> > libc++ & MingW
> >> >   compiles (as you wrote) - and all tests run fine?
> >> >
> >> > libc++ & MSVC
> >> >   does not compile - what parts, any building/test stats available?
> >> >
> >> > libc++ & Clang under Windows
> >> >   ???
> >> >
> >> > Am 08.05.2014 07:29, schrieb Yaron Keren:
> >> >
> >> >  Hi Dennis,
> >> >>
> >> >> You can build libcxx using MingW-w64
> >> >>
> >> >>
> >> >> http://sourceforge.net/projects/mingw-w64/files/
> >> Toolchains%20targetting%
> >> >> 20Win32/Personal%20Builds/mingw-builds/
> >> >>
> >> >> but not using Visual C++.
> >> >>
> >> >> Yaron
> >> >>
> >> >>
> >> >>
> >> >> 2014-05-08 7:20 GMT+03:00 Dennis Luehring <dl.soluz at gmx.net>:
> >> >>
> >> >> > the information on http://libcxx.llvm.org/results.Windows.htmlseems to
> >> >> > be a little bit out-dated
> >> >> >
> >> >> > anyone still working on the port?
> >> >> >
> >> >> > _______________________________________________
> >> >> > cfe-dev mailing list
> >> >> > cfe-dev at cs.uiuc.edu
> >> >> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> >> >> >
> >> >>
> >> >>
> >> > _______________________________________________
> >> > cfe-dev mailing list
> >> > cfe-dev at cs.uiuc.edu
> >> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> >> >
> >>
> >>
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> >
>




More information about the cfe-dev mailing list