This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: "command not found"-For All Commands



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


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