Op di 21 jan. 2020 om 05:48 schreef Biswapriyo Nath <nathbap...@gmail.com>:

> Generally, there would not be any big difference between compiled dll by
> msvc and mingw-w64.
>

There are quite a few differences actually, not limited to:
 - dependencies on VS or MinGW-w64/GCC runtime libraries. This will improve
if GCC is configured to link with the ucrt, which I do not think is the
default yet (although it really should be ASAP in my opinion)
 - C++ and structured exception handling code
 - some minor calling convention issues
 - actual compiled code is different
 - many C runtime functions (mostly math and I/O) are different between them
 - ...

In general, the 64-bit GCC C++ ABI is not compatible with the one used by
VS. C code should be fine (with the above caveats), but again, your mileage
may vary.

Ruben


> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to