This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: a.out command not found


Hi,
You may run ./a.out not a.out.
Linux only searches $PATH to run applications, if the directory is not specified.
- Sangmoon Kim -

----- Original Message ----- 
From: "asaad hubail" <asaad_hubail@hotmail.com>
To: <crossgcc@sourceware.cygnus.com>
Sent: Monday, September 24, 2001 2:58 PM
Subject: a.out command not found


> Hi,
> I have installed Red Hat 7.1 and I compiled a small C program using the 
> command
> gcc file_name.c
> 
> and I got an a.out, but when I ran it, I get an error saying
> a.out : command not found
> 
> could someone inform me what is going wrrong?
> thanks
> 
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> 
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
> 
> 

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