Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with gcc



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      




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org