title: cygwin - cannot execute binary file
body: <p>I am trying to run these two .data files from my c++ code for my assignment. I have been provided with all the files and are meant to only implement a few functions for the program (everything should be able to compile running the make command).</p>
  
  <p>I used to run a MAC and only just started using windows (win 7) because work gave me a free laptop. Anyways...I installed cygwin, added the gcc-c++ compiler, gdb and make packages to my cygwin. But when i run the command <code>./file ./data</code> it comes up with:</p>
  
  <pre><code>bash: ./file: cannot execute binary file
  </code></pre>
  
  <p>is there a certain package or something I am suppose to install? Please note, that ./data is the folder that holds my two .data files, <code>file1.data</code> and <code>file2.data</code></p>
  
  <p>compiled by"</p>
  
  <pre><code>g++ -Wall -Werror -02 -c file.cpp
  g++ -Wall -Werror -02 -c file-test.cpp
  g++ -Wall -Werror -02 -o file file.o file-test.o
  </code></pre>