* configure.in, config/i386sol2.{mh,mt}: Preliminary Solaris-x86 conf.

This commit is contained in:
John Gilmore 1992-10-06 09:27:57 +00:00
parent 94603999f9
commit 5c820c1937
4 changed files with 38 additions and 0 deletions

View File

@ -56,6 +56,8 @@ hppahpux.mt
i386aout.mt
i386mach.mh
i386sco.mh
i386sol2.mh
i386sol2.mt
i386v.mh
i386v.mt
i386v32.mh

31
gdb/config/i386sol2.mh Normal file
View File

@ -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

3
gdb/config/i386sol2.mt Normal file
View File

@ -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

View 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 ;;