home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / gcc / help / 2849 next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.5 KB

  1. Path: sparky!uunet!paladin.american.edu!gatech!rpi!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!uniol!majestix.informatik.uni-kiel.dbp.de!news
  2. From: car@informatik.uni-kiel.dbp.de (Carsten Rathsack)
  3. Newsgroups: gnu.gcc.help
  4. Subject: How to get gcc 2.3.3 includes for SunOS 4.1.1(3)?
  5. Date: 4 Jan 1993 10:39:00 +0100
  6. Organization: Department of Computer Science, University of Kiel, Germany
  7. Lines: 24
  8. Message-ID: <1i90jkINNd9d@ramses.informatik.uni-kiel.dbp.de>
  9. NNTP-Posting-Host: ramses.informatik.uni-kiel.dbp.de
  10. Keywords: fix-includes, Sun, SunOS, prototypes
  11.  
  12. I like to install gcc version 2.3.3 on our Sun Sparcs running
  13. SunOS 4.1.1(3).
  14.  
  15. Following the install instructions the compilation of the gcc
  16. is easy. The only problem is that our Suns have non ANSI
  17. includes located in /usr/include/ which are be used for
  18. fix-includes. After all I get a working gcc that produces
  19. trillians of warnings if I try to use the warn levels -Wall due
  20. to missing prototypes for library functions.
  21.  
  22. Has anybody any ideas how I can get a workaround for this problem?
  23. I tried copying the ANSI includes from acc (the Sun ANSI compiler)
  24. but there seems to be some incompabilities with that files
  25. (prototypes for fdopen/popen/... are only included with
  26. -D__STDC=0, functions have two declarations with different types ...)
  27.  
  28. Are there any solutions that can easyly be repeated for all new
  29. versions of gcc?
  30.  
  31. Any help is greatly appreciated.
  32.  
  33. Carsten
  34. -- 
  35. Howe's Law: Everyone has a scheme that will not work.
  36.