title: mingw to cygwin
body: <p>I am a newbie in cygwin.  However, I have used mingw so far, but it is not supporting fork(), so I need to switch to cygwin.  I have created a build.bat file in my mingw (programming language C):</p>
  
  <pre><code>gcc -o mask mask.c -pg -I/c/opencv/build/include  -lopencv_core231 -lopencv_highgui231 -lopencv_imgproc231 -L. -L/c/opencv/build/x86/mingw/lib
  </code></pre>
  
  <p>Can anyone suggest me how I can run this .bat file at cygwin or refer me to a site.</p>
  
  <p>How can I run mingw executable with cygwin? Any refernce will be appreciated.</p>
  
  <p>Thanks for your help</p>
  
  <p>Emon</p>