aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k/amix.mh
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/m68k/amix.mh')
-rw-r--r--gdb/config/m68k/amix.mh26
1 files changed, 26 insertions, 0 deletions
diff --git a/gdb/config/m68k/amix.mh b/gdb/config/m68k/amix.mh
new file mode 100644
index 0000000..ad3afed
--- /dev/null
+++ b/gdb/config/m68k/amix.mh
@@ -0,0 +1,26 @@
+# Host: Commodore Amiga running SVR4.
+NAT_FILE= nm-sysv4.h
+NATDEPFILES= corelow.o procfs.o fork-child.o
+XDEPFILES=
+XM_FILE= xm-amix.h
+SYSV_DEFINE=-DSYSV
+REGEX=regex.o
+REGEX1=regex.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
+
+# SVR4 puts the BSD compatible install in /usr/ucb.
+INSTALL = /usr/ucb/install -c