RE: executing C program in cygwin

2007-08-22 Thread Dave Korn
On 22 August 2007 13:33, Enna wrote: > Thanks for all the replies, i still don't know what the problem was, except > that recompiling the program file helped... if any of you can make sense of > that, please let me know. So, the file must have got damaged or broken somehow. However, it's prett

Re: executing C program in cygwin

2007-08-22 Thread Enna
Thanks for all the replies, i still don't know what the problem was, except that recompiling the program file helped... if any of you can make sense of that, please let me know. Enna wrote: > > I have the following problem: I would like to execute a C program from the > cygwin console. This pro

RE: executing C program in cygwin

2007-08-22 Thread Dave Korn
On 22 August 2007 12:48, Enna wrote: > 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 > This worked fine yes

RE: executing C program in cygwin

2007-08-22 Thread Enna
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 y

RE: executing C program in cygwin

2007-08-22 Thread Patil, Ashwin Channabasavaraj
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Enna Sent: Wednesday, August 22, 2007

Re: executing C program in cygwin

2007-08-22 Thread Erich Dollansky
Hi, Enna wrote: /path to the program/programname check for spaces in the names and insert a space behind the program name. Erich -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/