delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/11/11:02:30

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: <s9bd018f.099@experian.com>
X-Mailer: Novell GroupWise 4.1
Date: Mon, 11 Sep 2000 16:00:24 +0000
From: Alan Griffiths <alan DOT griffiths AT experian DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: BASH question -Reply

>>> "Pytel, Diane" <diane DOT pytel AT lmco DOT com> 11/September/2000 02:55pm
>>>
>
>Help!
>I'm a first time user of cygwin stuff and trying to install it on a PC
>with
>Windows 95 OS.  When I try to run a small C program I keep getting the
>message:
>BASH.EXE: a.exe: cmd not found.  Details of installation are below
>
>I wrote a small C program from class and got an a.exe file.  I guess I
>don't understand 2 things:
>1)  why I'm getting a .exe file from gcc.  This means I'm operating in
>DOS.  I thought choosing UNIX would override that but I guess I'm too
>dumb about dos and such.

Historically, that was the default and changes break things so it doesnt
change.

>2)  why I'm getting the error msg BASH.EXE: a.exe: cmd not found

Because, by default, the current directory isn't searched.  try:

    $./a.exe



=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

--
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