home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jst50986
- From: jst50986@uxa.cso.uiuc.edu (Jack S. Tan)
- Subject: Installing gcc?
- Message-ID: <C18vDr.Dr5@news.cso.uiuc.edu>
- Summary: Can't #include in gcc
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Fri, 22 Jan 1993 07:27:26 GMT
- Keywords: gcc
- Lines: 15
-
- This problem seems kind of simple, but it's been bothering me: how does
- one install gcc for OS/2? I have set up the directories correctly; have
- set the environmental strings correctly, with the proper slash/backslash
- orientation; and have added the bin directory to my path. The problem
- comes when compiling the sample code (a 'hello, world!' program). I get
- an error similar to
-
- sample.c 1: undefined or invalid # directive
-
- Line 1 is '#include <stdio.h>'! Hmmm... seems a bit odd to me. Any ideas?
-
- --
-
- Jack Tan If your parents didn't have kids,
- jahk@uiuc.edu chances are you won't either.
-