home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / misc / 43526 < prev    next >
Encoding:
Text File  |  1993-01-22  |  1.1 KB  |  28 lines

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