Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.1.2.20001128105437.020bf150@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Tue, 28 Nov 2000 10:58:05 -0500
To: "Scott Stinson" <ScottEStinson@mail.utexas.edu>,
        <cygwin@sources.redhat.com>
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: Re: Hello World will compile and link but will not run.
In-Reply-To: <000101c058f4$df3daec0$2ba85380@ifrw381>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 11:37 PM 11/27/2000, Scott Stinson wrote:
>The compiler produced Hello.exe and when I typed in Hello, the program
>should have ran but instead the screen printed
>bash:  Hello: command not found.


As mentioned, your path in bash does not include "." by default so you need
to add it or use "./Hello".  David, this seems like good FAQ fodder to me...


>I tested out some other programs and got similar results.  When tried to run
>the program from DOS, it printed out Cygwin1.dll not found, which means I
>have to run the program from Cygwin.  And I do have Cygwin1.dll of course.


Well no, it doesn't mean that you *have* to run the program from the Cygwin
environment.  It does mean that if you don't run it from that environment, 
you need to make sure that the PATH that DOS sees has Cygwin1.dll in it.
Simple!;-)


Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

