delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/11/13:06:07

X-Recipient: archive-cygwin AT delorie DOT com
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
Message-ID: <34146901.post@talk.nabble.com>
Date: Wed, 11 Jul 2012 10:05:40 -0700 (PDT)
From: emon <temursalin AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: running .bat file in cygwin
In-Reply-To: <4FFDAC3B.2060901@cygwin.com>
MIME-Version: 1.0
References: <34146666 DOT post AT talk DOT nabble DOT com> <4FFDAC3B DOT 2060901 AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019