title: Eclipse CDT fails to run compiled executable in Windows with error "terminated, exit value: <some number>"
body: <p>I just reinstalled Windows on my machine. Before that, I was using the <code>Eclipse CDT IDE</code> for Windows (64-bit) with MinGW compiler suite (downloaded using mingw-get). Everything worked perfectly fine before the reinstall.</p>
  
  <p>After the installation I tried to compile and run my C++ projects, but I always got the <code>terminated, exit value: &lt;some number&gt;</code> error in the console, even for a <code>Hello World!</code> project. I also got an error saying the <code>libgcc_s_dw2-1.dll</code> is missing from my computer when I tried to run the executable from the command line.</p>
  
  <p>So I uninstalled MinGW and tried again and it did not work. I completely removed anything related to MinGW from my system, I removed Eclipse, deleted every workspace, cleaned everything (or at least I think). Then I created a fresh <code>Eclipse</code> folder, then installed the <code>MinGW</code> and created path variables. Everything looked like they have been reset and now when I try to compile and run anything, the compilations seems to work fine but running the executable is still not possible. I still get the same error on every launch. Cleaning the project did not work either. I tried several other workarounds both from Stack Overflow and other sources but they did not work for me either and I am clueless at this point and stuck.</p>
  
  <p>I would really appreciate any help regarding this problem. Thanks!</p>