Date: Wed, 3 Jan 2001 08:58:30 GMT From: Cliff Sarginson <cliff@raggedclown.net> To: vivian yan <ziqang@yahoo.com>, questions@FreeBSD.ORG Subject: Running programs [Was Unspecified] Message-ID: <E14Djkc-00063J-00@post.mail.nl.demon.net>
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
^ no space here I hope
> path)and /tmp/Hello( as friends suggested),
> Still same results.
>
was it "Hello" or "hello", remember Unix filenames are case
sensitive ( "H" is different from 'h") ...
Cliff
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?E14Djkc-00063J-00>
