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