delorie.com/archives/browse.cgi | search |
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: | <4.3.1.2.20001128105437.020bf150@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
Date: | Tue, 28 Nov 2000 10:58:05 -0500 |
To: | "Scott Stinson" <ScottEStinson AT mail DOT utexas DOT edu>, |
<cygwin AT sources DOT redhat DOT com> | |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: Hello World will compile and link but will not run. |
In-Reply-To: | <000101c058f4$df3daec0$2ba85380@ifrw381> |
Mime-Version: | 1.0 |
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 AT rfk DOT 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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |