aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-01 21:00:15 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-01 21:00:15 +0000
commit0abbc7715fd8e800364281b37b560a2f11987044 (patch)
tree5043e7cc1f24a38813d96a9d02f718ffc780374f /config
parentde72ad1e33267ec28d9c4cff8832a7a9dc62a642 (diff)
downloadgdb-0abbc7715fd8e800364281b37b560a2f11987044.zip
gdb-0abbc7715fd8e800364281b37b560a2f11987044.tar.gz
gdb-0abbc7715fd8e800364281b37b560a2f11987044.tar.bz2
miscellaneous fixes to make RISC/os work; see ChangeLog's
Diffstat (limited to 'config')
-rw-r--r--config/mh-riscos15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/mh-riscos b/config/mh-riscos
index e69de29..e586b30 100644
--- a/config/mh-riscos
+++ b/config/mh-riscos
@@ -0,0 +1,15 @@
+# This is for a MIPS running RISC/os 4.52C.
+
+# This is needed for GDB, but needs to be in the top-level make because
+# if a library is compiled with the bsd headers and gets linked with the
+# sysv system libraries all hell can break loose (e.g. a jmp_buf might be
+# a different size).
+# ptrace(2) apparently has problems in the BSD environment. No workaround is
+# known except to select the sysv environment. Could we use /proc instead?
+# These "sysv environments" and "bsd environments" often end up being a pain.
+#
+# This is not part of CFLAGS because perhaps not all C compilers have this
+# option.
+CC= cc -systype sysv
+
+RANLIB = true