delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/27/21:39:46

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: <000101c058f4$df3daec0$2ba85380@ifrw381>
From: "Scott Stinson" <ScottEStinson AT mail DOT utexas DOT edu>
To: <cygwin AT sources DOT redhat DOT com>
Subject: Hello World will compile and link but will not run.
Date: Mon, 27 Nov 2000 20:37:09 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019