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 Subject: RE: Hello World will compile and link but will not run. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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" To: Content-Transfer-Encoding: 8bit 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