public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* a.out (Can't run it..)
@ 1999-11-21 12:33 Appie
  1999-11-21 14:31 ` Rick Dearman
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Appie @ 1999-11-21 12:33 UTC (permalink / raw)
  To: help-gcc

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: a.out (Can't run it..)
  1999-11-21 12:33 a.out (Can't run it..) Appie
@ 1999-11-21 14:31 ` Rick Dearman
  1999-11-30 23:28   ` Rick Dearman
  1999-11-30 23:28 ` Appie
  1999-12-07 20:58 ` Eric Dines
  2 siblings, 1 reply; 10+ messages in thread
From: Rick Dearman @ 1999-11-21 14:31 UTC (permalink / raw)
  To: help-gcc

Most likely you don't have the current working directory in your path,
try:

./a.out



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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* a.out (Can't run it..)
  1999-11-21 12:33 a.out (Can't run it..) Appie
  1999-11-21 14:31 ` Rick Dearman
@ 1999-11-30 23:28 ` Appie
  1999-12-07 20:58 ` Eric Dines
  2 siblings, 0 replies; 10+ messages in thread
From: Appie @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: a.out (Can't run it..)
  1999-11-21 14:31 ` Rick Dearman
@ 1999-11-30 23:28   ` Rick Dearman
  0 siblings, 0 replies; 10+ messages in thread
From: Rick Dearman @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

Most likely you don't have the current working directory in your path,
try:

./a.out



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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: a.out (Can't run it..)
  1999-11-21 12:33 a.out (Can't run it..) Appie
  1999-11-21 14:31 ` Rick Dearman
  1999-11-30 23:28 ` Appie
@ 1999-12-07 20:58 ` Eric Dines
  1999-12-08  8:55   ` Richard Brust
  1999-12-31 22:24   ` Eric Dines
  2 siblings, 2 replies; 10+ messages in thread
From: Eric Dines @ 1999-12-07 20:58 UTC (permalink / raw)
  To: help-gcc

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: a.out (Can't run it..)
  1999-12-07 20:58 ` Eric Dines
@ 1999-12-08  8:55   ` Richard Brust
  1999-12-08 11:57     ` Joe Durusau
  1999-12-31 22:24     ` Richard Brust
  1999-12-31 22:24   ` Eric Dines
  1 sibling, 2 replies; 10+ messages in thread
From: Richard Brust @ 1999-12-08  8:55 UTC (permalink / raw)
  To: help-gcc

I had to add "." to the PATH, and it worked.

Eric Dines <esd@deakin.edu.au> wrote in message
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
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: a.out (Can't run it..)
  1999-12-08  8:55   ` Richard Brust
@ 1999-12-08 11:57     ` Joe Durusau
  1999-12-31 22:24       ` Joe Durusau
  1999-12-31 22:24     ` Richard Brust
  1 sibling, 1 reply; 10+ messages in thread
From: Joe Durusau @ 1999-12-08 11:57 UTC (permalink / raw)
  To: help-gcc

    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
> 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
> >

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: a.out (Can't run it..)
  1999-12-08  8:55   ` Richard Brust
  1999-12-08 11:57     ` Joe Durusau
@ 1999-12-31 22:24     ` Richard Brust
  1 sibling, 0 replies; 10+ messages in thread
From: Richard Brust @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

I had to add "." to the PATH, and it worked.

Eric Dines <esd@deakin.edu.au> wrote in message
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
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: a.out (Can't run it..)
  1999-12-07 20:58 ` Eric Dines
  1999-12-08  8:55   ` Richard Brust
@ 1999-12-31 22:24   ` Eric Dines
  1 sibling, 0 replies; 10+ messages in thread
From: Eric Dines @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: a.out (Can't run it..)
  1999-12-08 11:57     ` Joe Durusau
@ 1999-12-31 22:24       ` Joe Durusau
  0 siblings, 0 replies; 10+ messages in thread
From: Joe Durusau @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

    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
> 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
> >

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-21 12:33 a.out (Can't run it..) Appie
1999-11-21 14:31 ` Rick Dearman
1999-11-30 23:28   ` Rick Dearman
1999-11-30 23:28 ` Appie
1999-12-07 20:58 ` Eric Dines
1999-12-08  8:55   ` Richard Brust
1999-12-08 11:57     ` Joe Durusau
1999-12-31 22:24       ` Joe Durusau
1999-12-31 22:24     ` Richard Brust
1999-12-31 22:24   ` Eric Dines

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).