> Is it possible that the current directory isn't in your PATH.
> Try
>
> $ ./mytest
>
> You can see the search path with
>
> $ echo $PATH
>
> and add current dir to it with
>
> $ export PATH=$PATH:.
>
Even better, add ~/bin to your PATH and make sure newly compiled programs
are stored in ~
*-"[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
|
| I've downloaded emacs and g++ and it seems to work fine. I've created a
| mytest program and it compiled fine. When I try to execute mytest I get
|
| bash:mytest: command not found
|
| So how do you invoke your c++ binaries? Thanks.
Is it possible
I'm kinda stupid so take what I say with a grain of salt but I think
it is either the file is not set executable or it's not in the path.
For the first do an ls -l on the file and make sure it is executable
(duh).
For the second type ./filename and see if it works then.
HTH, G.S.
---"[EMAIL PROT
> bash:mytest: command not found
>
> So how do you invoke your c++ binaries? Thanks.
./mytest
HTH,
Matthew
--
Elen sila lumenn' omentielvo
Steward of the Cambridge Tolkien Society
Selwyn College Computer Support
http://www.geocities.com/Area51/Chamber/8841/
http://www.cam.ac.uk/CambUniv/So
Hi all. Thanks to everyone who helped with my ftp problem. I got every
thing running now.
I've downloaded emacs and g++ and it seems to work fine. I've created a
mytest program and it compiled fine. When I try to execute mytest I get
bash:mytest: command not found
So how do you invoke your c
5 matches
Mail list logo