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]

gcc


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



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