This is the mail archive of the gcc-bugs@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]

What am I missing


I'm trying the gcc compiler for the first time and seem to have it a snag. What am I missing?

I'm on RedHat 7.3

The source file is simple enough:

#include <stdio.h>
int main(void)
{
printf("hello\n");
return 0;
}

At the prompt I'm using: gcc hello.c -o hello

The application is created with the proper name and location, but when I type the application name I get a bash command not found error.

What am I missing?

thanks



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