Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Mike Rendell
Mon, 16 Nov 1992 12:21
More config file fixes for Mips Risc/os 5.0
Author: Mike Rendell
Date: Mon, 16 Nov 1992 12:21
Date: Mon, 16 Nov 1992 12:21
51 lines
2465 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads