This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: running .bat file in cygwin
- From: Adam Dinwoodie <Adam dot Dinwoodie at metaswitch dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Wed, 11 Jul 2012 16:35:51 +0000
- Subject: RE: running .bat file in cygwin
- Deferred-delivery: Wed, 11 Jul 2012 16:35:00 +0000
- References: <34146666.post@talk.nabble.com>
emon wrote:
> 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):
>
>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
>
>Can anyone suggest me how I can run this .bat file at cygwin or refer me to
>a site.
Use a shell script rather than a batch file. A search for "shell script" with
your favourite search engine should show up beginner's guides if you're
unfamiliar.
Adam
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple