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


Hi,

try 

./a.out

Andre

--- Arash Farmand <arashfarmand at hotmail dot com> wrote:
> Platform:       Mandrake Linux 9.0 Standard Edition
> gcc version:    3.2
>
======================================================
> 
> I wrote this simple C program (using Kwrite) called
> test.c and I left a carriage return after the last
> bracket:
> 
> #include<stdio.h>
> 
> int main(void)
> {
>    printf("Hello world!");
>    return(0);
> }
> 
>
=====================================================
> 
> In the Gnome terminal, I compiled using the basic
> gcc
> test.c command which created the file a.out. In the
> same directory of a.out, I typed "a.out" from the
> Gnome terminal and got the following message:
> "bash: a.out: command not found"
> Any suggestions?
> 
> 
> 
> 
> 
> 
> 
> 
>
_________________________________________________________________
> Tired of spam? Get advanced junk mail protection
> with MSN 8.  
> http://join.msn.com/?page=features/junkmail
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


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