home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9745 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.1 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
  2. From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Newbie GCC Problem -- PLEASE HELP!
  5. Message-ID: <1992Sep3.125615.18129@klaava.Helsinki.FI>
  6. Date: 3 Sep 92 12:56:15 GMT
  7. References: <7hlnv=q.harp@netcom.com>
  8. Organization: University of Helsinki
  9. Lines: 18
  10.  
  11. harp@netcom.com (Gregory O. Harp) writes:
  12. >The simplest "Hello, world" program won't work.  I get an executable
  13. >file, but it isn't. %) The permissions are all set right, but I get a
  14. >"command not found" message whenever I try to run it.
  15.  
  16. If the executable is called a.out, and is in the working directory, try
  17. executing it with the command ./a.out and if that doesn't work, ask
  18. again.  Unix shells don't look in the working directory by default, so
  19. you have to have . in your PATH environment variable to get that
  20. behaviour.
  21.  
  22. This problem is most probably a very frequently asked question in
  23. comp.unix.questions (and comp.unix.wizards :), so looking in the FAQ of
  24. the unix groups should be profitable for Linux users too.  This applies
  25. to many other problems with normal Unix usage. 
  26.  
  27. --
  28. Lars.Wirzenius@helsinki.fi
  29.