This is the mail archive of the gcc-help@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: a.out (Can't run it..)


    For security reasons, using . as part of the path is not recommended, and

Extremely bad for root accounts.

    It is much better to remember to type ./a.out

Speaking only for myself,

Joe Durusau


Richard Brust wrote:

> I had to add "." to the PATH, and it worked.
>
> Eric Dines <esd@deakin.edu.au> wrote in message
> 384DE402.C5ABB7FA@deakin.edu.au">news:384DE402.C5ABB7FA@deakin.edu.au...
> > Try typing the full path as well as the command name. It doesn't search
> > current directory by default.
> >
> >
> > Appie wrote:
> >
> > > Please help me...
> > > When I try to run a.out after compiling ...
> > > I get the message "a.out: command not found".
> > > Why is this? And how can I fiks the problem?
> > >
> > > Appie
> > >
> > > aelmiri@hotmail.com
> >


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