This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [noob] a.out does not execute?
- From: robin <armrobin at 21cn dot com>
- To: Mark Peskir <blue875 at carolina dot rr dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 06 Oct 2005 14:10:22 +0800
- Subject: Re: [noob] a.out does not execute?
- References: <200510052212.29047.blue875@carolina.rr.com>
- Reply-to: armrobin at 21cn dot com
On Wed, 2005-10-05 at 22:12 -0400, Mark Peskir wrote:
> I have made some very small c programs. They compiled with no errors under
> gcc, and produced an a.out. However, when I type a.out to run, I get "a.out:
> command not found".
>
> I am running the latest gcc (4.0.2) on an x86 machine using Mandrake Linux
> 10.1 (not Mandriva). Thank you for helping this Linux beginner!
>
you have to indicate PATH your file resident.
etc. you could run :
./a.out