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 Content-Type: text/plain Content-Disposition: inline Mime-Version: 1.0 X-Mailer: MIME-tools 4.103 (Entity 4.115) From: Robert Livesey Date: Thu, 25 Oct 2001 12:04:31 +0100 (GMT) To: cygwin AT cygwin DOT com Subject: Fortran executables Message-Id: The problem I'm having is that after I've compiled a fortran program using the command: g77 -o myprog myprog.f The executable it creates does not run from the directory I'm sitting in. The message "Command not found" appears. However if I move myprog to the default /bin directory it does work. I was wondering how I can make my programs work anywhere and not just in the bin folder ? If this is not possible is there a way of creating my own folder like the /bin directory ? As you can probably tell I'm new to fortran and also unix so any help would be greatly appreciated. Thanks Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/