Re: [SLE] C++ compiler doesn't work
Jonathan, Thank you. It works now. Could you help me pls, how to change the path, so that I can execute straightforwardly by: coba2 instead of ./coba2 ? Setyo
On Friday 10 May 2002 3:01 pm, Setyo Nugroho wrote:
g++ -Wall -o coba2 coba2.cc coba2 bash: coba2: command not found
try ./coba2
I don't think the current directory "." is in your path
HTH
Jon
-- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Actually he already told you in the last post. You need to add ./ to your path. You can do this in your .profile file. Austin On Mon, May 13, 2002 at 09:35:34AM +0200, Setyo Nugroho wrote:
Jonathan, Thank you. It works now. Could you help me pls, how to change the path, so that I can execute straightforwardly by: coba2 instead of ./coba2 ?
Setyo
On Friday 10 May 2002 3:01 pm, Setyo Nugroho wrote:
g++ -Wall -o coba2 coba2.cc coba2 bash: coba2: command not found
try ./coba2
I don't think the current directory "." is in your path
HTH
Jon --
| \/ |/ ___/ ___| Austin Morgan | |\/| | | \___ \ Morgan Computer Services | | | | |___ ___) | 479-857-1189 |_| |_|\____|____/ www.morgancomputers.net
On Monday 13 May 2002 8:35 am, Setyo Nugroho wrote:
Thank you. It works now.
You're welcome.
Could you help me pls, how to change the path, so that I can execute straightforwardly by: coba2 instead of ./coba2 ?
PATH Environment variable: http://www.tldp.org/LDP/gs/node5.html#SECTION005142001000000000000 Shell initialization scripts http://www.tldp.org/LDP/gs/node5.html#SECTION005143000000000000000 Fully recommend http://www.tldp.org/ especially Matt Welsh's Getting Started http://www.tldp.org/LDP/gs/ HTH Regards, Jon
participants (3)
-
Austin Morgan
-
Jonathan Lim
-
Setyo Nugroho