From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18012 invoked by alias); 11 Jul 2012 16:38:09 -0000 Received: (qmail 17901 invoked by uid 22791); 11 Jul 2012 16:38:07 -0000 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 Received: from enficsets2.metaswitch.com (HELO enficsets2.metaswitch.com) (192.91.191.39) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Jul 2012 16:37:55 +0000 Received: from ENFICSCAS1.datcon.co.uk (172.18.4.13) by enficsets2.metaswitch.com (172.18.4.22) with Microsoft SMTP Server (TLS) id 14.2.298.4; Wed, 11 Jul 2012 17:39:52 +0100 Received: from ENFIRHMBX1.datcon.co.uk ([fe80::b06d:4d13:5f63:3715]) by ENFICSCAS1.datcon.co.uk ([::1]) with mapi id 14.02.0298.004; Wed, 11 Jul 2012 17:37:52 +0100 From: Adam Dinwoodie To: "cygwin@cygwin.com" Subject: RE: running .bat file in cygwin Date: Wed, 11 Jul 2012 16:38:00 -0000 Deferred-Delivery: Wed, 11 Jul 2012 16:35:00 +0000 Message-ID: References: <34146666.post@talk.nabble.com> In-Reply-To: <34146666.post@talk.nabble.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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/msg00172.txt.bz2 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" wi= th 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