title: Default file extension of the executable created by g++ under Cygwin vs Linux
body: <p>I've done most of my work on VisualStudio and don't have much experience with gcc or g++. When I tried to compile a (ex. aprogram.cpp) this morning on my pc using cygwin, I got (aprogram.exe) when I tried to compile the same thing on my Ubuntu box I got (aprogram) w/o any extension. I am just wondering if someone be kind enough to tell me why. This question is just out of curiosity. :)</p>
  
  <p>Thanks in advance!</p>
  
  <p>EDIT:
  (from Jimmy's comment) 
  g++ under Cygwin defaults to .exe </p>