delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/30/14:25:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <28723813.post@talk.nabble.com>
References: <28722920 DOT post AT talk DOT nabble DOT com> <AANLkTinwKtF7dY0AqKGTYSWLVuL-D3XcDsn89fZr5irE AT mail DOT gmail DOT com> <28723813 DOT post AT talk DOT nabble DOT com>
Date: Sun, 30 May 2010 14:25:28 -0400
Message-ID: <AANLkTiltNDBMuGPysnUT-5wZ8zIveczLWyumdjVDH8_p@mail.gmail.com>
Subject: Re: "command not found"-For All Commands
From: Gregg Levine <gregg DOT drwho8 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sun, May 30, 2010 at 2:18 PM, physicist25 <alemsahle2000 AT gmail DOT com> wrot=
e:
>
>
> I just realized what you ment. Okay, this is how I tried to run a cpp fil=
e.
>
> -sh-3.2# ls c:/cygwin/home
> -sh: ls: command not found
> -sh-3.2# ls/ c:/cygwin/home
> cygwin warning:
> =A0MS-DOS style path detected: c:/cygwin/home
> =A0Preferred POSIX equivalent is: /home
> =A0CYGWIN environment variable option "nodosfilewarning" turns off this
> warning.
> =A0Consult the user's guide for more details about POSIX paths:
> =A0 =A0http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
> hello.cpp
> -sh-3.2# ls/ /home
> hello.cpp
> -sh-3.2# g++ hello.cpp -o hello
> -sh: g++: command not found
> -sh-3.2# g++/ hello.cpp -o hello
> : hello.cpp: No such file or directory
> : no input files
> -sh-3.2# ./hello
> -sh: ./hello: No such file or directory
> -sh-3.2#
>
> I have no idea what is going on!!!

Hello!
Friend what version (so to speak) of Cygwin are you running? How did
you install it? For myself, and I suspect that it may not be
appropriate for all, I typically run the actual setup program from the
website and follow its urging to download itself to a folder, and then
install it. Wait for that to happen and finally check to see if the
simple program ls for list files works, and then repeat setup, but do
so off-line working from the folder. Then repeat to see if the build
utilities like Gcc and friends have arrived.

That prompt resembles something from the Beta series of Cygwin or
perhaps from one of the terminals that doesn't recognize how BASH
constructs a (normal) prompt.

-----
Gregg C Levine gregg DOT drwho8 AT gmail DOT com
"This signature fought the Time Wars, time and again."

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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