aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-04-11 05:40:44 +0000
committerFred Fish <fnf@specifix.com>1992-04-11 05:40:44 +0000
commit5435f9279856b84a58b89c431421affac13755de (patch)
treef8bde72dd994e93955244b235bfd4bcb2a64220d /gdb/config
parent5868184b8d0419a6b652e5463f39be3cc67e4160 (diff)
downloadgdb-5435f9279856b84a58b89c431421affac13755de.zip
gdb-5435f9279856b84a58b89c431421affac13755de.tar.gz
gdb-5435f9279856b84a58b89c431421affac13755de.tar.bz2
New configuration file for ncr 3000.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/.Sanitize1
-rw-r--r--gdb/config/ncr3000.mh36
2 files changed, 37 insertions, 0 deletions
diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize
index 20b087e..e279e7d 100644
--- a/gdb/config/.Sanitize
+++ b/gdb/config/.Sanitize
@@ -73,6 +73,7 @@ m88k.mh
m88k.mt
merlin.mh
merlin.mt
+ncr3000.mh
news.mh
news.mt
news1000.mh
diff --git a/gdb/config/ncr3000.mh b/gdb/config/ncr3000.mh
new file mode 100644
index 0000000..2016b1b
--- /dev/null
+++ b/gdb/config/ncr3000.mh
@@ -0,0 +1,36 @@
+# Host: Intel 386 running SVR4.
+
+# The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
+# This compiler not only emits abnoxious copyright messages every time
+# you run it, but it chokes and dies on a whole bunch of GNU source
+# files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
+# Unfortunately though, the AT&T compiler sometimes generates code that
+# the assembler barfs on if -g is used, so disable it by default as well.
+CC = /usr/ccs/ATT/cc
+MINUS_G =
+
+SYSV_DEFINE=-DSYSV
+REGEX=regex.o
+REGEX1=regex.o
+
+# Need to compile and link in support for SVR4's /proc and i386 host dependent
+# routines.
+XDEPFILES= procfs.o i386-xdep.o
+
+# Use the i386 SVR4 host configuration file.
+XM_FILE= xm-i386v4.h
+
+# We need to find alloca() somewhere. Gcc has one built in, but most other
+# compilers don't. Using the one in /usr/ucblib/libucb.a is tricky because
+# we have to be careful not to pull in anything else from the library (lots
+# of things are broken in most SVR4 versions). The best solution is to just
+# compile alloca.c and link it into the executable. If we end up not needing
+# it, then the code is just dead. Once alloca.c moves to libiberty, then we
+# can eliminate this semi-kludge.
+ALLOCA=alloca.o
+ALLOCA1=alloca.o
+
+# SVR4 comes standard with terminfo, and in some implementations, the
+# old termcap descriptions are incomplete. So ensure that we use the
+# new terminfo interface and latest terminal descriptions.
+TERMCAP=-ltermlib