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 |
Subject: | RE: Hello World will compile and link but will not run. |
MIME-Version: | 1.0 |
Date: | Tue, 28 Nov 2000 13:39:43 +1100 |
content-class: | urn:content-classes:message |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.4368.4 |
Message-ID: | <188CAABFF1C6AD4D946FF2170CD8B7AA64DF@itdomain002.itdomain.net.au> |
Thread-Topic: | Hello World will compile and link but will not run. |
Thread-Index: | AcBY5ButpkCZj7rdTPa6quzJq2/37gAAE+RQ |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | <cygwin AT sources DOT redhat DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id VAA08713 |
in bash the current directory "." is not in your path. try ./Hello.exe Rob > -----Original Message----- > From: Scott Stinson [mailto:ScottEStinson AT mail DOT utexas DOT edu] > Sent: Tuesday, 28 November 2000 3:37 PM > To: cygwin AT sources DOT redhat DOT com > Subject: Hello World will compile and link but will not run. > > > I just installed Cygwin on my computer a few hours ago and > tested out the > gcc for Cygwin. > I made the regular Hello program and typed > gcc Hello.c -o Hello > > 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. > > 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. > > This might be the result of an installation error. I > downloaded Setup.exe > into Desktop, ran the program from there and chose to do an Internet > Installation with a direct connection. Everything was done > automatically. > > My computer is a 586i and I know that there are files with > Cygwin for the > 686i. It might be possible that the programs are being > compiled for the 686 > instead of a 586, since I've ran Cygwin perfectly well on the > 686's at my > school. Or it might be possible that the Setup utitility messed up > somewhere. > > Could someone help me out on this on? > > > > > > > > > -- > 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |