delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/22/08:05:56

X-Spam-Check-By: sourceware.org
Message-ID: <12273245.post@talk.nabble.com>
Date: Wed, 22 Aug 2007 05:05:31 -0700 (PDT)
From: Enna <a DOT v DOT balthasar AT lse DOT ac DOT uk>
To: cygwin AT cygwin DOT com
Subject: RE: executing C program in cygwin
In-Reply-To: <D566E8CF3538B54D95B925CB69CB4D2A0658EE4E@inblr-exch1.eu.uis.unisys.com>
MIME-Version: 1.0
X-Nabble-From: a DOT v DOT balthasar AT lse DOT ac DOT uk
References: <12273008 DOT post AT talk DOT nabble DOT com> <D566E8CF3538B54D95B925CB69CB4D2A0658EE4E AT inblr-exch1 DOT eu DOT uis DOT unisys 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

Hi,
Thanks a lot, "filename" is present and I am giving the full path anyway,
anything else doesn't work on my computer.
I found that recompiling of the program actually helped.
Strange... but thanks anyway.


Patil, Ashwin Channabasavaraj wrote:
> 
> Hi,
> Check whether "filename" is present in you present working directory.
> Alternatively, give the absolute path to the file "filename" when you
> run your program.
> 
> -Ashwin
> 
> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
> Of Enna
> Sent: Wednesday, August 22, 2007 5:18 PM
> To: cygwin AT cygwin DOT com
> Subject: executing C program in cygwin
> 
> 
> I have the following problem: I would like to execute a C program from
> the
> cygwin console. This program is supposed to get its input from another
> file,
> so what I type into the cygwin console is 
> 
> /path to the program/programname<filename
> 
> This worked fine yesterday, however today all i get is the message
> "bash:
> filename: no such file or directory". I must admit that I shifted the
> directory containing all that stuff around a little bit, but the file is
> still in that directory, so I have no idea what the problem is. Please
> help!
> Thanks.
> -- 
> View this message in context:
> http://www.nabble.com/executing-C-program-in-cygwin-tf4311118.html#a1227
> 3008
> Sent from the Cygwin Users mailing list archive at Nabble.com.
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/executing-C-program-in-cygwin-tf4311118.html#a12273245
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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