home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2780 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.3 KB

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!concert!rutgers!stanford.edu!agate!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!mercury.cs.mun.ca!michael
  2. From: michael@mercury.cs.mun.ca (Mike Rendell)
  3. Newsgroups: gnu.gcc.bug
  4. Subject: More config file fixes for Mips Risc/os 5.0
  5. Message-ID: <9211161939.AA07056@mercury.cs.mun.ca>
  6. Date: 16 Nov 92 12:21:11 GMT
  7. Sender: gnulists@ai.mit.edu
  8. Distribution: gnu
  9. Organization: GNUs Not Usenet
  10. Lines: 51
  11. Approved: bug-gcc@prep.ai.mit.edu
  12.  
  13. Environment: Mips M/120 running Risc/os 5.0, gcc 2.3.1
  14.  
  15. The mips-5{bsd43,sysv,svr4}.h config files define SYSTEM_INCLUDE_DIR
  16. when they should be defining STANDARD_INCLUDE_DIR.  The difference
  17. is that in the former case, the default STANDARD_INCLUDE_DIR,
  18. "/usr/include",  will also be searched.  This causes problems in the
  19. bsd environment, where files like termio.h should not be found but
  20. are.
  21.  
  22. The following diffs change config/mips-5bsd.h, config/mips-5sysv.h
  23. and config/mips-5svr4.h.  Similar changes should probably be made
  24. to config/mips-{bsd,sysv,svr4}.h, but I don't have access to systems
  25. running Risc/os 4.x, so I don't know for sure.
  26.  
  27.  
  28. --- config/mips-5bsd.h.orig    Thu Nov 12 12:04:04 1992
  29. +++ config/mips-5bsd.h    Thu Nov 12 12:04:24 1992
  30. @@ -21,7 +21,7 @@
  31.  
  32.  #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_BSD43"
  33.  
  34. -#define SYSTEM_INCLUDE_DIR "/bsd43/usr/include"
  35. +#define STANDARD_INCLUDE_DIR "/bsd43/usr/include"
  36.  
  37.  #define CPP_SPEC "\
  38.  %{.cc:    -D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
  39. --- config/mips-5svr4.h.orig    Thu Nov 12 12:04:04 1992
  40. +++ config/mips-5svr4.h    Thu Nov 12 12:04:27 1992
  41. @@ -21,7 +21,7 @@
  42.  
  43.  #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SVR4"
  44.  
  45. -#define SYSTEM_INCLUDE_DIR "/svr4/usr/include"
  46. +#define STANDARD_INCLUDE_DIR "/svr4/usr/include"
  47.  
  48.  #define CPP_SPEC "\
  49.  %{.cc:    -D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
  50. --- config/mips-5sysv.h.orig    Thu Nov 12 12:04:04 1992
  51. +++ config/mips-5sysv.h    Thu Nov 12 12:04:30 1992
  52. @@ -21,7 +21,7 @@
  53.  
  54.  #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SYSV"
  55.  
  56. -#define SYSTEM_INCLUDE_DIR "/sysv/usr/include"
  57. +#define STANDARD_INCLUDE_DIR "/sysv/usr/include"
  58.  
  59.  #define CPP_SPEC "\
  60.  %{.cc:    -D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
  61.  
  62. --
  63. Michael Rendell - Dept. of Comp. Sci., Memorial University of Newfoundland
  64.