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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_20,KHOP_THREADED,TW_MG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: Adam Dinwoodie <Adam DOT Dinwoodie AT metaswitch DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: running .bat file in cygwin
Date: Wed, 11 Jul 2012 16:35:51 +0000
Deferred-Delivery: Wed, 11 Jul 2012 16:35:00 +0000
Message-ID: <CE9C056E12502146A72FD81290379E9A4362F506@ENFIRHMBX1.datcon.co.uk>
References: <34146666 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <34146666.post@talk.nabble.com>
MIME-Version: 1.0
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q6BGcJSJ032264

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


- Raw text -


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