Problems with gcc

Gerald Feldman gaf at palantir.newton.ma.us
Wed Aug 24 06:32:13 EDT 1994


cocco at misty.suffolk.edu (Vincent Cocco) writes:

> I suddenly seem to be having problems with gcc as far as executing programs.
> I compiled the simple program hello.c successfuly with no errors. But when
> I go to run it with "a.out" I get a "command not found" message.
> I'm also gettng the same message when I go to run my graphics program "spic".
> I downloaded and built this program myself and I always worked up until now.
> Any thoughts on this?
The problem is certainly not with your compiler. Looks like a problem with
your PATH environment variable. Some Unix systems do not search your
current directory unless it is in your path (which is why there is
normally a . in the path. Try the ./a.out. 


Jerry Feldman                 | Internet: gaf at palantir.newton.ma.us
Boston Computer               |           gaf at world.std.com
Solutions & Consulting      



More information about the Discuss mailing list