On Sunday 15 February 2026 16:16:17 Kirill Makurin wrote:
> Pali Rohár <[email protected]> wrote:
> > Because there is also *lib: section and somewhere is also libstdc++
> > which calls CRT functions too. So to address all these issues for C++
> > it would be needed to put all libs from all those sections into one
> > continuous --start-group/--end-group.
> 
> I see, this would be really annoying to do.
> 
> > Also if such change in gcc is applied then there is a problem with
> > support for gcc versions without that change. I'm not sure if it is
> > a good idea to drop support for all existing gcc versions, and require
> > gcc 16.x.x (or where can be this --start-group/--end-group accepted)
> > for mingw-w64.
> 
> This also would be unfortunate for users.
> 
> > That exactly means get rid of libmingwex.a. It is possible via
> > MRI script, basically all CRT import libraries are already built
> > via MRI scripts, so adding there another .a archive is not hard.
> 
> Just keep in mind that we may want to continue providing libmingwex.a even if 
> it'll be just a dummy empty archive, so that -lmingwex does not cause link 
> errors once we merge it into import libraries.
> 
> - Kirill Makurin

Sure. Same thing what happened with libmoldname.a archive in past.
It is also empty and its content is part of every libmsvcr*.a archive.
(unfortunately libcoldname.a for libcrtdll.a was not preserved;
libMold... means Msvcrt and libCold... means Crtdll)


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to