delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/05/00:04:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <001d01c02e81$c7572590$91ed85ce@timayum4srqln4>
From: "Tim Prince" <tprince AT computer DOT org>
To: <cygwin AT sources DOT redhat DOT com>, "Yusuf Womiloju" <yusuf21 AT chalktv DOT com>
References: <1144327181970719456 AT chalktv DOT com>
Subject: Re: running c code
Date: Wed, 4 Oct 2000 21:07:27 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Try ./hello  The security concerns about having the current directory on the
default path and the interest in having cygwin bash work the same as linux
bash have the upper hand.
----- Original Message -----
From: "Yusuf Womiloju" <yusuf21 AT chalktv DOT com>
To: <cygwin AT sources DOT redhat DOT com>
Sent: Wednesday, October 04, 2000 10:17 PM
Subject: running c code


Hi.

I just installed cygwin.  I can compile code in the bash shell in c:\cygnus
but when i run the code:

$ hello.exe
BASH.EXE: hello.exe: command not found

I have to move the file into the /bin directory then it works:

administrator AT 30254440029 /bin
$ hello.exe
Hello world

Why can I not run the code in the same directory that it was compiled in?
What did i do wrong?
-------
After clicking the setup.exe to install cywin. I am suppose to do something
else (i.e. setup environment variables, use mount, set up something)

Thanks in advance,
Yusuf Womiloju



Thanks in advance
____________________________________
Get your free full featured email at
http://www.chalktv.com
Powered by ApexMail.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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