Skip to content

DLL warnings when building under x86-mingw-* community triplets. Should they be ignored or addressed? #39961

Answered by dg0yt
XJ-0461 asked this question in Q&A
Discussion options

You must be logged in to vote
  • 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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@XJ-0461
Comment options

@dg0yt
Comment options

Answer selected by XJ-0461
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants