This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc
- From: Andre Kirchner <sieg1974 at yahoo dot com>
- To: Arash Farmand <arashfarmand at hotmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Sun, 30 Mar 2003 17:45:44 -0800 (PST)
- Subject: 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