title: Distribute a program compiled with MinGW g++
body: <p>Let's say I have created and compiled a simple program using the MinGW 64 (g++ compiler). Running this program on my computer and looking in Process Explorer for what DLL files the program is using I find (among many others):</p>
  
  <pre><code>libgcc_s_seh-1.dll
  libstdc++6.dll
  libwinpthread-1.dll
  </code></pre>
  
  <p>These are the only ones that reside under my MinGW installation folder. The rest of the DLL files used reside under <code>C:\Windows</code>.</p>
  
  <p><strong>Question 1:</strong></p>
  
  <p>Are the MinGW DLL files the MinGW C++ runtime libraries (so to speak)? Do they serve the same purpose as for example msvcrXXX.dll (XXX = version of Microsoft runtime library).</p>
  
  <p><strong>Question 2:</strong></p>
  
  <p>If I want to run the application on a different computer which does not have MinGW installed, is it sufficient to include those DLL files listed above (i.e. placing them in the same folder as my executable) to have it run on the other computer (we assume the other computer is also a 64-bit Windows machine). If yes, does this mean we basically ship the MinGW C++ runtime with our executable. If no, why?</p>