delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/11/12:40:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.7 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_MG
X-Spam-Check-By: sourceware.org
Message-id: <4FFDAC3B.2060901@cygwin.com>
Date: Wed, 11 Jul 2012 12:39:23 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: running .bat file in cygwin
References: <34146666 DOT post AT talk DOT nabble DOT com>
In-reply-to: <34146666.post@talk.nabble.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


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