Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 1999 21:29:23 +1000
From:      Jim Mock <jim@blues.ghis.net>
To:        Andrew Uborka <dj_elvis@bigpond.com>
Cc:        FreeBSD <questions@FreeBSD.ORG>
Subject:   Re: running a.out
Message-ID:  <19990808212923.A43844@blues.ghis.net>
In-Reply-To: <000a01bee18f$d7b9bf00$0b98400a@musghillss.qld.edu.au>
References:  <000a01bee18f$d7b9bf00$0b98400a@musghillss.qld.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 08 Aug 1999 at 21:19:11 +1000, Andrew Uborka wrote:
> I have just installed FreeBSD version 3.2 on my computer. I want to
> use the system as C programming tool. I can use the vi editor to
> enter the program. the program will then compile with the cc command
> however the a.out assembler output will not run. I get the message
> "Command not Found". Can you give me any tips as to why the a.out
> file is not running?

What command are you using to run the file?  I.e., if the file is in
your home directory, you'll need to use a ./ in front of it..

	# ./a.out

  instead of..

	# a.out

  since '.' isn't in your path.

-- 
- Jim Mock - jim@blues.ghis.net - systems administrator - ghis.NET -
- work: http://www.ghis.net/ - personal: http://www.ghis.net/~jim/ -
- FreeBSD 'zine: http://www.freebsdzine.org/ - jim@freebsdzine.org -
- FreeBSD: Bringing UNIX to the masses --- http://www.freebsd.org/ -


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?19990808212923.A43844>