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]
Other format: [Raw text]

Re: [noob] a.out does not execute?


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


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