home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os9 / 1136 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.1 KB  |  35 lines

  1. Newsgroups: comp.os.os9
  2. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!menudo.uh.edu!lobster!nuchat!hounix!mm1
  3. From: mm1@hounix.org (John Donaldson)
  4. Subject: GNU C & C++
  5. Message-ID: <1992Aug16.232046.20195@hounix.org>
  6. Organization: Houston UNIX Users Group (HOUNIX), Houston, TX
  7. Date: Sun, 16 Aug 1992 23:20:46 GMT
  8. Lines: 25
  9.  
  10.   I am having some trouble getting the OSK port of GNU C & C++ running.
  11. I tried out a test program.
  12.   
  13.      #include <stdio.h>
  14.  
  15.      main()
  16.      {
  17.        printf("Hello World...");
  18.      }
  19.  
  20.     I call it with .......gcc hello.c
  21.  
  22.   I get back a report with multiply errors in stdio.h . I looked at stdio.h
  23. and cannot see what the problem is. It does state that some of the lines in
  24. Stdio.h are C++ code. Is this a problem or not??
  25.   Any help,hints,& ect would be very welcomed.
  26.  
  27.  
  28. John D.
  29.  
  30. -- 
  31. ******************************************************************************
  32. * John Donaldson   one very Happy MM/1 Owner                                 *
  33. * ...zaphod.mis.ohio-state.edu!menudo.uh.edu!nuchat!hounix!mm1               *
  34. ******************************************************************************
  35.