title: Compile 64-bit binary with MinGW (Dev-C++)
body: <p>It is probably a stupid question but i was searching for the answer from about 3h.</p>
  
  <p><strong>¿How to compile 64-bit binary with (Dev-C++) MinGW?</strong></p>
  
  <p>I  have readed that MinGW support 64bits by default, but i am unable to active this option.</p>
  
  <p>I have tryed "-m64" but it say: "sorry, unimplemented: 64-bit mode not compiled in"</p>
  
  <p>I am working on Dev-C++ on Windows-7</p>
  
  <p>I know how to do it on MSVC++, but I don't want MSVC++ (cause of ethical issues)</p>
  
  <p>What i am trying to compile, just for testing purpose:</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main(int argc, char* argv[])
  {   
      // Test compiling mode
      if (sizeof(void*) == 8) cout &lt;&lt; "Compiling 64-bits" &lt;&lt; endl;
      else cout &lt;&lt; "Compiling 32-bits" &lt;&lt; endl;
  
      return 0;
  }
  </code></pre>