delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/25/10:25:14

From: ralf AT wamba DOT central DOT de (Ralf Meyer)
Subject: Re: Compiled C++ code gets "command not found"
25 Mar 1998 10:25:14 -0800 :
Message-ID: <m0yGsU2-000iFgC.cygnus.gnu-win32@uranus.central.de>
References: <3511607C DOT 2D3B AT unity DOT ncsu DOT edu>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

> From:          Mitchell P Katzenelson <mpkatzen AT unity DOT ncsu DOT edu>
> Organization:  North Carolina State University

> I am a UNIX novice, using it at school to develop and run C++
> programs. I just installed b19.1, following all instructions in the
> readme.  I downloaded working C++ source code off the unix system to
> my PC and compiled it, with no errors.  When I try to run the
> anyname.exe file however, I get "Command not found".  I checked the
> FAQs and used findmail to search the archives, but came up empty. 
> Any help would be appreciated. 

In contrary to DOS and Windows the current directory on Unix is 
not searched for executables.
So try 
	./anyname
first. If that works, add ";." to your path or even put ".;" in front 
of the path env var.
-- 
bye
     ranf
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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