home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10000 next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.0 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!rpi!psinntp!psinntp!pool!ujlh
  2. From: ujlh@pool.info.sunyit.edu (James Henrickson)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Newbie GCC Problem -- PLEASE HELP!
  5. Message-ID: <1992Sep5.063941.18734@pool.info.sunyit.edu>
  6. Date: 5 Sep 92 06:39:41 GMT
  7. Article-I.D.: pool.1992Sep5.063941.18734
  8. References: <7hlnv=q.harp@netcom.com>
  9. Organization: State University of New York -- Institute of Technology
  10. Lines: 45
  11.  
  12. In article <7hlnv=q.harp@netcom.com> harp@netcom.com (Gregory O. Harp) writes:
  13. >
  14. >I've just installed the MCC-Interim (0.97p2) distribution, and I 
  15. >can't get gcc to create useable executables.
  16. >
  17. >The simplest "Hello, world" program won't work.  I get an executable
  18. >file, but it isn't. %) The permissions are all set right, but I get a
  19. >"command not found" message whenever I try to run it.
  20. >
  21.  
  22. Maybe the shell isn't finding the command, as the error message
  23. suggests.  Try "echo $PATH" and see if the current directory ('.')
  24. is included in there somewhere.  If it isn't then try running the 
  25. program by telling the shell where to find it, like "./progname".
  26.  
  27. >gcc isn't giving me any warnings about anything, so as far as I know
  28. >it thinks it's working fine.
  29. >
  30.  
  31. It probably IS working fine.
  32.  
  33. >I didn't do anything funky during the installation.  I'm using it
  34. >pretty much out of the box at this point.  I _did_ tell the installer
  35. >that I had a 486.  I _didn't_ rebuild the kernel (apparently very
  36. >fortunately, since my compiler's broken).  
  37. >
  38. >Any ideas why this isn't working?  I assume that it worked for MCC and
  39. >has worked for most people, so what did I do wrong?
  40. >
  41.  
  42. Do you have an introductory Unix book?
  43.  
  44. >I've stayed up much to late working on this...  Please help me!
  45. >  Greg
  46. >-- 
  47. >-----------------Greg-Harp----------------harp@netcom.com------------------
  48. >  Love me, love my ferrets.               "Break out of the mold before
  49. >  Or at least love my ferrets. ;)          the mold sets in" -- B52's
  50.  
  51.  
  52. -- 
  53. Jim H.
  54. *
  55. * James L. Henrickson
  56. * ujlh@sunyit.edu        "Some day I might have a real .signature!"
  57.