* Simple problem
@ 1999-11-18 3:51 Samuel
1999-11-18 9:29 ` Rick Dearman
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Samuel @ 1999-11-18 3:51 UTC (permalink / raw)
To: help-gcc
I've installed the RedHat 6.0 with standard configuration and try to compile
C++ programs with gcc. It successfully generates an a.out file, but I cannot
execute the a.out file.
Why?
Please help me.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Simple problem
1999-11-18 3:51 Simple problem Samuel
@ 1999-11-18 9:29 ` Rick Dearman
1999-11-30 23:28 ` Rick Dearman
1999-11-18 9:41 ` Matt Alderson
` (2 subsequent siblings)
3 siblings, 1 reply; 11+ messages in thread
From: Rick Dearman @ 1999-11-18 9:29 UTC (permalink / raw)
To: help-gcc
try ./a.out
Samuel wrote:
>
> I've installed the RedHat 6.0 with standard configuration and try to compile
> C++ programs with gcc. It successfully generates an a.out file, but I cannot
> execute the a.out file.
> Why?
>
> Please help me.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Simple problem
1999-11-18 3:51 Simple problem Samuel
1999-11-18 9:29 ` Rick Dearman
@ 1999-11-18 9:41 ` Matt Alderson
1999-11-30 23:28 ` Matt Alderson
1999-12-02 11:40 ` Edward A. Falk
1999-11-20 14:18 ` Arthur Gold
1999-11-30 23:28 ` Samuel
3 siblings, 2 replies; 11+ messages in thread
From: Matt Alderson @ 1999-11-18 9:41 UTC (permalink / raw)
To: help-gcc
Simple solution: chmod u+x a.out
--
Matt Alderson GIS Specialist . Arizona Game and Fish Department
email: matt@barry.gf.state.az.us . 2221 W. Greenway Road
voice-mail: (602) 789-3610 . Phoenix, AZ 85023 U.S.A.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Simple problem
1999-11-18 3:51 Simple problem Samuel
1999-11-18 9:29 ` Rick Dearman
1999-11-18 9:41 ` Matt Alderson
@ 1999-11-20 14:18 ` Arthur Gold
1999-11-30 23:28 ` Arthur Gold
1999-11-30 23:28 ` Samuel
3 siblings, 1 reply; 11+ messages in thread
From: Arthur Gold @ 1999-11-20 14:18 UTC (permalink / raw)
To: help-gcc
Samuel wrote:
>
> I've installed the RedHat 6.0 with standard configuration and try to compile
> C++ programs with gcc. It successfully generates an a.out file, but I cannot
> execute the a.out file.
> Why?
>
> Please help me.
./a.out (as . [current directory] is not in your PATH
--ag
--
Artie Gold, Austin, TX (finger the cs.utexas.edu account for more info)
mailto:agold@bga.com or mailto:agold@cs.utexas.edu
--
"If you come to a fork in the road, take it." L. P. Berra
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Simple problem
1999-11-20 14:18 ` Arthur Gold
@ 1999-11-30 23:28 ` Arthur Gold
0 siblings, 0 replies; 11+ messages in thread
From: Arthur Gold @ 1999-11-30 23:28 UTC (permalink / raw)
To: help-gcc
Samuel wrote:
>
> I've installed the RedHat 6.0 with standard configuration and try to compile
> C++ programs with gcc. It successfully generates an a.out file, but I cannot
> execute the a.out file.
> Why?
>
> Please help me.
./a.out (as . [current directory] is not in your PATH
--ag
--
Artie Gold, Austin, TX (finger the cs.utexas.edu account for more info)
mailto:agold@bga.com or mailto:agold@cs.utexas.edu
--
"If you come to a fork in the road, take it." L. P. Berra
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Simple problem
1999-11-18 9:29 ` Rick Dearman
@ 1999-11-30 23:28 ` Rick Dearman
0 siblings, 0 replies; 11+ messages in thread
From: Rick Dearman @ 1999-11-30 23:28 UTC (permalink / raw)
To: help-gcc
try ./a.out
Samuel wrote:
>
> I've installed the RedHat 6.0 with standard configuration and try to compile
> C++ programs with gcc. It successfully generates an a.out file, but I cannot
> execute the a.out file.
> Why?
>
> Please help me.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Simple problem
1999-11-18 3:51 Simple problem Samuel
` (2 preceding siblings ...)
1999-11-20 14:18 ` Arthur Gold
@ 1999-11-30 23:28 ` Samuel
3 siblings, 0 replies; 11+ messages in thread
From: Samuel @ 1999-11-30 23:28 UTC (permalink / raw)
To: help-gcc
I've installed the RedHat 6.0 with standard configuration and try to compile
C++ programs with gcc. It successfully generates an a.out file, but I cannot
execute the a.out file.
Why?
Please help me.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Simple problem
1999-11-18 9:41 ` Matt Alderson
@ 1999-11-30 23:28 ` Matt Alderson
1999-12-02 11:40 ` Edward A. Falk
1 sibling, 0 replies; 11+ messages in thread
From: Matt Alderson @ 1999-11-30 23:28 UTC (permalink / raw)
To: help-gcc
Simple solution: chmod u+x a.out
--
Matt Alderson GIS Specialist . Arizona Game and Fish Department
email: matt@barry.gf.state.az.us . 2221 W. Greenway Road
voice-mail: (602) 789-3610 . Phoenix, AZ 85023 U.S.A.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Simple problem
1999-11-18 9:41 ` Matt Alderson
1999-11-30 23:28 ` Matt Alderson
@ 1999-12-02 11:40 ` Edward A. Falk
1999-12-02 11:40 ` Edward A. Falk
1999-12-31 22:24 ` Edward A. Falk
1 sibling, 2 replies; 11+ messages in thread
From: Edward A. Falk @ 1999-12-02 11:40 UTC (permalink / raw)
To: help-gcc
In article <ucogcrn21a.fsf@barry.gf.state.az.us>,
Matt Alderson <matt@barry.gf.state.az.us> wrote:
>Simple solution: chmod u+x a.out
I doubt this will work. If the program compiled ok, a.out
should already be executable. Someone else suggested
that "." was not in the user's path. I think this is
more likely.
Note: allowing the linker to call your program "a.out" is silly.
You should give the "-o executablename" arguments to the linker
and do it right.
--
-ed falk, falk@falconer.vip.best.com *********************#*************#
See http://www.rahul.net/falk/whatToDo.html *#**************F******!******!*!!**
and read 12 Simple Things You Can Do ********!***************************
to Save the Internet #****#******#*********!**WW*W**W
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Simple problem
1999-12-02 11:40 ` Edward A. Falk
@ 1999-12-02 11:40 ` Edward A. Falk
1999-12-31 22:24 ` Edward A. Falk
1 sibling, 0 replies; 11+ messages in thread
From: Edward A. Falk @ 1999-12-02 11:40 UTC (permalink / raw)
To: help-gcc
In article < ucogcrn21a.fsf@barry.gf.state.az.us >,
Matt Alderson <matt@barry.gf.state.az.us> wrote:
>Simple solution: chmod u+x a.out
I doubt this will work. If the program compiled ok, a.out
should already be executable. Someone else suggested
that "." was not in the user's path. I think this is
more likely.
Note: allowing the linker to call your program "a.out" is silly.
You should give the "-o executablename" arguments to the linker
and do it right.
--
-ed falk, falk@falconer.vip.best.com *********************#*************#
See http://www.rahul.net/falk/whatToDo.html *#**************F******!******!*!!**
and read 12 Simple Things You Can Do ********!***************************
to Save the Internet #****#******#*********!**WW*W**W
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Simple problem
1999-12-02 11:40 ` Edward A. Falk
1999-12-02 11:40 ` Edward A. Falk
@ 1999-12-31 22:24 ` Edward A. Falk
1 sibling, 0 replies; 11+ messages in thread
From: Edward A. Falk @ 1999-12-31 22:24 UTC (permalink / raw)
To: help-gcc
In article <ucogcrn21a.fsf@barry.gf.state.az.us>,
Matt Alderson <matt@barry.gf.state.az.us> wrote:
>Simple solution: chmod u+x a.out
I doubt this will work. If the program compiled ok, a.out
should already be executable. Someone else suggested
that "." was not in the user's path. I think this is
more likely.
Note: allowing the linker to call your program "a.out" is silly.
You should give the "-o executablename" arguments to the linker
and do it right.
--
-ed falk, falk@falconer.vip.best.com *********************#*************#
See http://www.rahul.net/falk/whatToDo.html *#**************F******!******!*!!**
and read 12 Simple Things You Can Do ********!***************************
to Save the Internet #****#******#*********!**WW*W**W
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~1999-12-31 22:24 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-18 3:51 Simple problem Samuel
1999-11-18 9:29 ` Rick Dearman
1999-11-30 23:28 ` Rick Dearman
1999-11-18 9:41 ` Matt Alderson
1999-11-30 23:28 ` Matt Alderson
1999-12-02 11:40 ` Edward A. Falk
1999-12-02 11:40 ` Edward A. Falk
1999-12-31 22:24 ` Edward A. Falk
1999-11-20 14:18 ` Arthur Gold
1999-11-30 23:28 ` Arthur Gold
1999-11-30 23:28 ` Samuel
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).