title: Getting the error: bash: (program): cannot execute binary file: Exec format error, on both 32-bit and 64-bit Windows
body: <p>There is a program developed for linguistic research (<a href="http://people.csail.mit.edu/mcollins/code.html" rel="noreferrer">http://people.csail.mit.edu/mcollins/code.html</a>). When I try to run the parser using Git bash terminal on Windows, I get the error:</p>
  <pre><code>bash: cannot execute binary file: Exec format error.
  </code></pre>
  <p>First, I assumed it's because of my 64-bit OS, since the file is 32-bit. So, I tried the program on a 32-bit system, but got the same message.</p>
  <p>Any ideas on how to fix the issue?:</p>
  <p><code>file (program)</code> shows:</p>
  <pre><code>ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, with debug_info, not stripped
  </code></pre>
  <p><code>uname -srv</code> for my 64-bit OS, shows:</p>
  <pre><code>MINGW64_NT-10.0-19042 3.1.7-340.x86_64 2021-03-26 22:17 UTC
  </code></pre>
  <p><code>uname -srv</code> for my 32-bit OS, shows:</p>
  <pre><code>MINGW32_NT-6.1-7601 3.1.7-340.i686 2021-03-26 22:01 UTC
  </code></pre>
  <p>P.S.: If you'd like to give it a try, this code should work in the program directory, but it doesn't work for me:</p>
  <pre><code>gunzip -c models/model2/events.gz | code/parser examples/sec23.tagged models/model2/grammar 10000 1 1 1 1 &gt; examples/sec23.model2
  </code></pre>