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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_05,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <28723813.post@talk.nabble.com>
Date: Sun, 30 May 2010 11:18:55 -0700 (PDT)
From: physicist25 <alemsahle2000 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: "command not found"-For All Commands
In-Reply-To: <AANLkTinwKtF7dY0AqKGTYSWLVuL-D3XcDsn89fZr5irE@mail.gmail.com>
MIME-Version: 1.0
References: <28722920 DOT post AT talk DOT nabble DOT com> <AANLkTinwKtF7dY0AqKGTYSWLVuL-D3XcDsn89fZr5irE AT mail DOT gmail 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


I just realized what you ment. Okay, this is how I tried to run a cpp file. 

-sh-3.2# ls c:/cygwin/home
-sh: ls: command not found
-sh-3.2# ls/ c:/cygwin/home
cygwin warning:
  MS-DOS style path detected: c:/cygwin/home
  Preferred POSIX equivalent is: /home
  CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
  Consult the user's guide for more details about POSIX paths:
    http://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!!!
-- 
View this message in context: http://old.nabble.com/%22command-not-found%22-For-All-Commands-tp28722920p28723813.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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