Date: Thu, 9 Nov 2000 14:45:27 -0800 (PST) From: Roop Nanuwa <roop@gw.carpoolbc.com> To: Duy Luong <luon0006@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: your mail Message-ID: <Pine.BSF.4.21.0011091441550.11220-100000@gw.carpoolbc.com> In-Reply-To: <20001109053156.27386.qmail@web4702.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Nov 2000, Duy Luong wrote: > Hi. I got a problem. After finishing installation > Freebsd 4.1.1 and some packages including devel etc, I > could not run the a.out file after I compiled the c++ > file. The message is a.out command not found, even > the a.out file is existed. Tell me how to solve this > problem. Thanks you. After compiling, there are two thing you need to make sure: 1] Change the file attributes to executable 2] Make sure the dir. is in your path If your compiled file is not in a dir that's part of your path, the system won't find it just like that.. you have to fully qualify it's location.. so instead of just running it by: %> a.out you have to do this: %>./a.out Hope that helps, RSN 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?Pine.BSF.4.21.0011091441550.11220-100000>