gcc

Arash Farmand arashfarmand@hotmail.com
Mon Mar 31 01:45:00 GMT 2003


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



More information about the Gcc-help mailing list