* configure.in, config/i386sol2.{mh,mt}: Preliminary Solaris-x86 conf.
authorJohn Gilmore <gnu@cygnus>
Tue, 6 Oct 1992 09:27:57 +0000 (09:27 +0000)
committerJohn Gilmore <gnu@cygnus>
Tue, 6 Oct 1992 09:27:57 +0000 (09:27 +0000)
gdb/config/.Sanitize
gdb/config/i386sol2.mh [new file with mode: 0644]
gdb/config/i386sol2.mt [new file with mode: 0644]
gdb/configure.in

index 8f37f7470defb62a7898f9dea2211c0da11575f4..8af146d760405f035b3491128f4ff41cb00130a2 100644 (file)
@@ -56,6 +56,8 @@ hppahpux.mt
 i386aout.mt
 i386mach.mh
 i386sco.mh
+i386sol2.mh
+i386sol2.mt
 i386v.mh
 i386v.mt
 i386v32.mh
diff --git a/gdb/config/i386sol2.mh b/gdb/config/i386sol2.mh
new file mode 100644 (file)
index 0000000..49e7c6d
--- /dev/null
@@ -0,0 +1,31 @@
+# Host: Intel 386 running Solaris 2 (SVR4).
+
+# Solaris-2 makes `install' optional in the Berkeley compatability pkg.
+# cp will do fine.
+INSTALL = cp
+
+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 fork-child.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
diff --git a/gdb/config/i386sol2.mt b/gdb/config/i386sol2.mt
new file mode 100644 (file)
index 0000000..4902e43
--- /dev/null
@@ -0,0 +1,3 @@
+# Target: Intel 386 running SVR4
+TDEPFILES= exec.o i386-pinsn.o i386-tdep.o i387-tdep.o solib.o
+TM_FILE= tm-i386v4.h
index dd527e982b0a1ccab0d418598c718eb564c30d75..be421892008609f5cc7047ce79f9994b484698fb 100644 (file)
@@ -24,6 +24,7 @@ i[34]86-*-go32)               gdb_host=go32 ;;
 i[34]86-*-linux)       gdb_host=linux ;;
 i[34]86-*-mach)                gdb_host=i386mach ;;
 i[34]86-*-scosysv*)    gdb_host=i386sco ;;
+i[34]86-*-solaris*)    gdb_host=i386sol2 ;;
 i[34]86-*-sunos*)      gdb_host=sun386 ;;
 i[34]86-*-sysv32)      gdb_host=i386v32 ;;
 i[34]86-*-sysv4*)      gdb_host=i386v4 ;;
@@ -131,6 +132,7 @@ i[34]86-*-aout)             gdb_target=i386aout ;;
 i[34]86-*-coff)                gdb_target=i386v ;;
 i[34]86-*-elf)         gdb_target=i386v ;;
 
+i[34]86-*-solaris*)    gdb_target=i386sol2 ;;
 i[34]86-*-sunos*)      gdb_target=sun386 ;;
 i[34]86-*-sysv4*)      gdb_target=i386v4 ;;
 i[34]86-*-scosysv3*)   gdb_target=i386v ;;
This page took 0.087701 seconds and 4 git commands to generate.