🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1414

More config file fixes for Mips Risc/os 5.0

#1414
From: Mike Rendell
Date: Mon, 16 Nov 1992 12:21
51 lines
2465 bytes
Environment: Mips M/120 running Risc/os 5.0, gcc 2.3.1

The mips-5{bsd43,sysv,svr4}.h config files define SYSTEM_INCLUDE_DIR
when they should be defining STANDARD_INCLUDE_DIR.  The difference
is that in the former case, the default STANDARD_INCLUDE_DIR,
"/usr/include",  will also be searched.  This causes problems in the
bsd environment, where files like termio.h should not be found but
are.

The following diffs change config/mips-5bsd.h, config/mips-5sysv.h
and config/mips-5svr4.h.  Similar changes should probably be made
to config/mips-{bsd,sysv,svr4}.h, but I don't have access to systems
running Risc/os 4.x, so I don't know for sure.


--- config/mips-5bsd.h.orig	Thu Nov 12 12:04:04 1992
+++ config/mips-5bsd.h	Thu Nov 12 12:04:24 1992
@@ -21,7 +21,7 @@
 
 #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_BSD43"
 
-#define SYSTEM_INCLUDE_DIR "/bsd43/usr/include"
+#define STANDARD_INCLUDE_DIR "/bsd43/usr/include"
 
 #define CPP_SPEC "\
 %{.cc:	-D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
--- config/mips-5svr4.h.orig	Thu Nov 12 12:04:04 1992
+++ config/mips-5svr4.h	Thu Nov 12 12:04:27 1992
@@ -21,7 +21,7 @@
 
 #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SVR4"
 
-#define SYSTEM_INCLUDE_DIR "/svr4/usr/include"
+#define STANDARD_INCLUDE_DIR "/svr4/usr/include"
 
 #define CPP_SPEC "\
 %{.cc:	-D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \
--- config/mips-5sysv.h.orig	Thu Nov 12 12:04:04 1992
+++ config/mips-5sysv.h	Thu Nov 12 12:04:30 1992
@@ -21,7 +21,7 @@
 
 #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SYSV"
 
-#define SYSTEM_INCLUDE_DIR "/sysv/usr/include"
+#define STANDARD_INCLUDE_DIR "/sysv/usr/include"
 
 #define CPP_SPEC "\
 %{.cc:	-D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS} \

--
Michael Rendell - Dept. of Comp. Sci., Memorial University of Newfoundland
Technical Details
Message-ID: <9211161939.AA07056@mercury.cs.mun.ca>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
From: michael@mercury.cs.mun.ca (Mike Rendell)
Newsgroups: gnu.gcc.bug
Subject: More config file fixes for Mips Risc/os 5.0
Message-ID: <9211161939.AA07056@mercury.cs.mun.ca>
Date: 16 Nov 92 12:21:11 GMT
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 51
Approved: bug-gcc@prep.ai.mit.edu