This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

BASH question -Reply


>>> "Pytel, Diane" <diane.pytel@lmco.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]