From owner-freebsd-questions Wed Jan 3 0:42:59 2001 From owner-freebsd-questions@FreeBSD.ORG Wed Jan 3 00:42:56 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from web11501.mail.yahoo.com (web11501.mail.yahoo.com [216.136.172.46]) by hub.freebsd.org (Postfix) with SMTP id A754037B400 for ; Wed, 3 Jan 2001 00:42:56 -0800 (PST) Message-ID: <20010103084256.75790.qmail@web11501.mail.yahoo.com> Received: from [210.8.232.4] by web11501.mail.yahoo.com; Wed, 03 Jan 2001 00:42:56 PST Date: Wed, 3 Jan 2001 00:42:56 -0800 (PST) From: vivian yan To: questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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