[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: creating an executable



On Tue, May 14, 2002 at 08:37:48PM -0700, Justin News wrote:
> To compile I use the commmand:
> 
> g++ -o hello hello.cpp
> 
> 
> I do get a "hello" file with 755 permissions so everything looks fine. 
> However, when i try to run the program i get the error msg saying:
> 
> bash: hello: command not found

Is . in your $PATH? Try ./hello instead of just hello.

-- 
Lee Bradshaw                 lee@sectionIV.com
Texas Instruments            bradshaw@ti.com
GnuPG D8C3BBD2  CC08 D690 0B70 3C70 351E  EB05 96A3 3789 D8C3 BBD2


-- 
To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: