-
When cross-compiling updated Lua port #39953 with the community x86-mingw-* triplets and a Linux MinGW toolchain. I produce a liblua.dll and a liblua-c++.dll as expected. However, a few warnings are reported:
When inspecting them I see these dependencies:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
The DLLs are required to be found at runtime. kernel32.dll and msvcrt.dll can be assumed to be provided by Windows. libgcc* and libstdc++* must be deployed to the target system either with the app or with the same mingw installation. IMO the preferred way is to copy them along with your app, to ensure compatible versions. However, you should study the implications of the relevant licenses.
To link with a supported CRT, choose a suitable mingw environment. Msys2 (for Windows hosts) has UCRT environment for i686, x86_64 and arm64.