Hello World will compile and link but will not run.
Larry Hall (RFK Partners, Inc)
Tue Nov 28 08:00:00 GMT 2000
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.
Larry Hall firstname.lastname@example.org
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 email@example.com
More information about the Cygwin