Date: Mon, 25 Nov 1996 15:08:40 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: MENTJA11@SNYBUFAA.CS.SNYBUF.EDU Cc: questions@FreeBSD.ORG Subject: Re: help: run a.out Message-ID: <Pine.BSI.3.94.961125150705.1515A-100000@gdi.uoregon.edu> In-Reply-To: <01IC9PFA0VO69ATMKM@SNYBUFAA.CS.SNYBUF.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Nov 1996 MENTJA11@SNYBUFAA.CS.SNYBUF.EDU wrote: > When I compile a c++ program with g++ i get the appropriate a.out file. > Any documentation i've found says to simply type a.out to run like normal. > Problem: FreeBSD returns "a.out: not found" Your current directory isn't in your PATH. Type './a.out' to run things in the current directory. This isn't included as a security precaution. You can edit ~/.cshrc or whatever to add . to the path line if that really bugs you. If you do, put it at the end; this reduces the chances of you running something in your current directory that you weren't intending. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961125150705.1515A-100000>