X-Recipient: archive-cygwin@delorie.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.post@talk.nabble.com>	<AANLkTinwKtF7dY0AqKGTYSWLVuL-D3XcDsn89fZr5irE@mail.gmail.com>	<28723813.post@talk.nabble.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.drwho8@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sun, May 30, 2010 at 2:18 PM, physicist25 <alemsahle2000@gmail.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.drwho8@gmail.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

