This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help needed on basic gcc compiling and a.out
- To: "Robin Kim" <shkim73 at home dot com>
- Subject: Re: Help needed on basic gcc compiling and a.out
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Tue, 16 Jan 2001 19:03:53 +1100
- Cc: <gcc at gcc dot gnu dot org>
- References: <004301c07f91$2fce2b40$c5880b18@almda1.sfba.home.com>
On 15-Jan-2001, Robin Kim <shkim73@home.com> wrote:
> I'm a beginner at linux C programming.
>
> I'm using Red-hat 6.2 and this is my problem.
>
> I programmed a simple file called 'a.c'
> then I compiled it using gcc as following,
>
> "gcc a.c"
>
> Then I tried to run a.out but I have
> "command not found" error.
>
> What do I have to do?
Type "./a.out" rather than "a.out".
Questions like this are probably more appropriate in the gnu.gcc.help
newsgroup.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.