Hi,

This is the fourth round of this patchset - the only modification
since the last round is that I've tested building libc++ and a C++
hello world with it, and fixed those issues I ran into in that setup.

I think most of my open questions have been answered in one way or
another. This is by no means complete and I'm sure that people that
test it will run into cases with functions that have been adjusted in
ucrtbase.dll, that I haven't fixed. Instead of manually thrawling through
all the headers and comparing to the def fil, I'd prefer to just get this
merged and let people test using it, and fixing those issues that people
actually run into.

The discussion on how to best activate building for a non-default msvcrt
version in the gcc/clang frontends is still open (in a way that will be
usable without custom, non-upstream patches) though, but that's orthogonal
to this patchset.

So unless there are objections, or if someone actually has tested this and
found other things to correct, I'd like to proceed with pushing this sometimes
soon.

// Martin


Martin Storsjö (3):
  crt: Add a def file for ucrtbase.dll
  headers: Add ucrtbase.dll specific parts to headers
  crt: Add compat wrappers for adapting the CRT startup and libmingwex
    to ucrtbase.dll

 mingw-w64-crt/Makefile.am                |   34 +-
 mingw-w64-crt/crt/ucrtbase_compat.c      |  334 ++++
 mingw-w64-crt/lib-common/ucrtbase.def.in | 2625 ++++++++++++++++++++++++++++++
 mingw-w64-headers/crt/_mingw_mac.h       |    4 +
 mingw-w64-headers/crt/_mingw_stat64.h    |    9 +
 mingw-w64-headers/crt/ctype.h            |    8 +
 mingw-w64-headers/crt/stdio.h            |  446 +++++
 mingw-w64-headers/crt/stdlib.h           |    3 +-
 mingw-w64-headers/crt/wchar.h            |  196 +++
 mingw-w64-headers/crt/wctype.h           |    8 +
 10 files changed, 3661 insertions(+), 6 deletions(-)
 create mode 100644 mingw-w64-crt/crt/ucrtbase_compat.c
 create mode 100644 mingw-w64-crt/lib-common/ucrtbase.def.in

-- 
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to