This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Help needed on basic gcc compiling and a.out


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]