From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14695 invoked by alias); 11 Jul 2012 17:05:55 -0000 Received: (qmail 14677 invoked by uid 22791); 11 Jul 2012 17:05:53 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,TW_MG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Jul 2012 17:05:40 +0000 Received: from telerig.nabble.com ([192.168.236.162]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Sp0M8-00037Q-Am for cygwin@cygwin.com; Wed, 11 Jul 2012 10:05:40 -0700 Message-ID: <34146901.post@talk.nabble.com> Date: Wed, 11 Jul 2012 17:05:00 -0000 From: emon To: cygwin@cygwin.com Subject: Re: running .bat file in cygwin In-Reply-To: <4FFDAC3B.2060901@cygwin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <34146666.post@talk.nabble.com> <4FFDAC3B.2060901@cygwin.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00177.txt.bz2 Dear Larry, When I use mingw terminal, build.bat would create a mask.exe. This is the executable file,mask.exe. If I try the same way in cygwin, it provides me the following error. -bash:build.bat command not found. By the by, my computer is installed both cygwin and mingw. thanks for your respond. I am sure there is a lacking in my background in cygwin somewhere, if you may point that out, so I can seach read the proper documentation. Best Larry Hall (Cygwin-X) wrote: > > On 7/11/2012 12:26 PM, emon wrote: >> >> Dear All, >> 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. > > Are you implying that invoking it directly from the Cygwin Terminal > doesn't > work for you? Is 'build.bat' executable? > > -- > Larry > > _____________________________________________________________________ > > A: Yes. > > Q: Are you sure? > >> A: Because it reverses the logical flow of conversation. > >>> Q: Why is top posting annoying in email? > > > -- > 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 > > > -- View this message in context: http://old.nabble.com/running-.bat-file-in-cygwin-tp34146666p34146901.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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