Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 1997 21:17:43 -0800 (PST)
From:      Shawn Ramsey <shawn@luke.cpl.net>
To:        yama-ko <yama-ko@mx2.nisiq.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: question
Message-ID:  <Pine.BSF.3.95.971104211646.5497A-100000@luke.cpl.net>
In-Reply-To: <199711050438.NAA27590@mx2.nisiq.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
> %

Because the directory you are trying to execute it in is not in your path.
Try ./a.out. 




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