Date: Wed, 3 Jan 2001 00:42:56 -0800 (PST) From: vivian yan <ziqang@yahoo.com> To: questions@FreeBSD.org Message-ID: <20010103084256.75790.qmail@web11501.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi, Oldhands I am learning C++ and Unix. I want to use the GNU C++ compiler, because it is free. I installed the freeBsd on my PC. The installation looked successfull. As trying I wrote a short "Hello, World" with C++ program. saved it under the /tmp path, using the "g++ -o Hello Hello.cpp" compiled it. Everything seemed O.K untill now. There is a Hello* file under the /tmp, and I "file -F Hello", it told me it is a executable file. But when I run it just under /tmp path, # Hello, I got : bash: Hello: command not found. I had tried the ./ Hello ( under the /tmp path)and /tmp/Hello( as friends suggested), Still same results. No way out, I installed the TurboLinux on another PC. Still can not overcome it. Always got the same result. Can you tell me what should I do? I need some settings on the bashor install some packages and ports as well? thank you in advance Peter( doublehorse@hotmail.com or ziqang@yahoo.com) __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010103084256.75790.qmail>