Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: , "Yusuf Womiloju" References: <1144327181970719456 AT chalktv DOT com> Subject: Re: running c code Date: Wed, 4 Oct 2000 21:07:27 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" To: 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