Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 1997 08:31:20 +0000 (GMT)
From:      Eddy Deegan <eddyd@dreamworld.demon.co.uk>
To:        Free BSD Questions mailing list <freebsd-questions@freebsd.org>
Subject:   Re: question
Message-ID:  <Pine.BSF.3.96.971105083016.244A-100000@dreamworld.demon.co.uk>
In-Reply-To: <199711050438.NAA27590@mx2.nisiq.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 5 Nov 1997, yama-ko wrote:

> I can compile programs with C , but I cannot execute them . Why ?
> 
> <For example>
> %gcc sample.c
> %ls
> a.out    sample.c
> %a.out
> a.out : cannot found command
> %
> 

You can, but your path probably doesn't look in the current directory for
them. Type:

% ./a.out

instead of just plain vanilla 'a.out' and it will probably work.

Eddy Deegan.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971105083016.244A-100000>