aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/ncr3000.mh
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-03-23 01:19:58 +0000
committerFred Fish <fnf@specifix.com>1993-03-23 01:19:58 +0000
commit5076de826cefc4cd828a8cf4cd6940d9a82f9e70 (patch)
treed6a1288826d5e971b6f88cfa048f8f51b8ec3543 /gdb/config/i386/ncr3000.mh
parent8256379df2a7043fdf6327a0190ab667cfbb84bf (diff)
downloadfsf-binutils-gdb-5076de826cefc4cd828a8cf4cd6940d9a82f9e70.zip
fsf-binutils-gdb-5076de826cefc4cd828a8cf4cd6940d9a82f9e70.tar.gz
fsf-binutils-gdb-5076de826cefc4cd828a8cf4cd6940d9a82f9e70.tar.bz2
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory. * nm-*, xm-*, tm-*: All native, host, and target files, which get linked to nm.h, xm.h, and tm.h respectively by configure, moved to appropriate config/<cpu> subdirectory.
Diffstat (limited to 'gdb/config/i386/ncr3000.mh')
-rw-r--r--gdb/config/i386/ncr3000.mh43
1 files changed, 43 insertions, 0 deletions
diff --git a/gdb/config/i386/ncr3000.mh b/gdb/config/i386/ncr3000.mh
new file mode 100644
index 0000000..338d13e
--- /dev/null
+++ b/gdb/config/i386/ncr3000.mh
@@ -0,0 +1,43 @@
+# Host: Intel 386 running SVR4.
+
+# The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
+# This compiler not only emits obnoxious 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
+CFLAGS =
+
+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=
+
+# Use the i386 SVR4 host configuration file.
+XM_FILE= xm-i386v4.h
+
+NAT_FILE= nm-i386v4.h
+NATDEPFILES= corelow.o exec.o procfs.o fork-child.o i386v4-nat.o
+
+# 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
+
+# The /usr/ucb/install program is incompatible (complains about unknown
+# group staff). Use good old cp...
+INSTALL = cp