Hi Martin, I have a mixed C, C++, and Ada source tree. I used Visual Studio to compile C and C++ code, and a MinGW-w64 based Ada compiler. What I would like to do is get MinGW-w64 version 5.0.4 (which is what the Ada compiler is based on) to have support for the Visual Studio CRT.
So, what I'd like to do is get the specs file used by the Ada compiler to have the necessary moldnames140 and vcruntime140 (or equivalent) library files for linking, so I don't have a mismatch in the runtimes used by Ada produced DLLs (via gnatdll) and the run time libraries used by C/C++ based libraries and executables. I suppose an option here is to see what is done in MinGW-w64 6.x and see if I can backport it to 5.0.4. Thanks and regards, Tom -----Original Message----- From: Martin Storsjö <[email protected]> Sent: Saturday, March 23, 2019 3:17 PM To: [email protected] Subject: Re: [Mingw-w64-public] Adding Visual Studio 2017 support to MinGW-w64 On Sat, 23 Mar 2019, Kacvinsky, Tom wrote: > Well, MS does not ship a mavcr140.dll (according to what I see in the > redistributables), so I think the DLL I want to focus on is > vcruntime140.dll There's no msvcr140.dll - MSVC 2015 and 2017 link against ucrtbase.dll and the corresponding api-ms-win-crt-*.dll, and we already support those. You generally don't need vcruntime140.dll at all (but we do support vcruntime140_app.dll, which is necessary for a few functions for windows store apps). For C++ code, mingw doesn't use the msvcp* at all, but use libstdc++ (or libc++). What concretely are you trying to do, that isn't already handled and supported? // Martin _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
