diff options
author | John Gilmore <gnu@cygnus> | 1992-06-13 01:56:41 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-06-13 01:56:41 +0000 |
commit | bf2e5f6b82634e5bfc3ae4c8cedb2cda6f13aed5 (patch) | |
tree | 259b27c1e709d97d58fb3320f6783f0674a0f99c /gdb/config/sun4sol2.mh | |
parent | a52057f811b82d8b0fde80b82cbc367b79ed89cf (diff) | |
download | gdb-bf2e5f6b82634e5bfc3ae4c8cedb2cda6f13aed5.zip gdb-bf2e5f6b82634e5bfc3ae4c8cedb2cda6f13aed5.tar.gz gdb-bf2e5f6b82634e5bfc3ae4c8cedb2cda6f13aed5.tar.bz2 |
* configure.in: Solaris config is sparc-sun-solaris2.
* config/sun4os5.m[ht]: Rename to config/sun4sol2.m[ht].
Diffstat (limited to 'gdb/config/sun4sol2.mh')
-rw-r--r-- | gdb/config/sun4sol2.mh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gdb/config/sun4sol2.mh b/gdb/config/sun4sol2.mh new file mode 100644 index 0000000..85de6ba --- /dev/null +++ b/gdb/config/sun4sol2.mh @@ -0,0 +1,29 @@ +# Host: Sun 4 or Sparcstation, running Solaris 2 +XDEPFILES= procfs.o +XM_FILE= xm-sun4os5.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 + +# Sun's compilers require the -xs option to produce debug information +# in the final linked executable. Otherwise they leave it in the .o +# files only, with undocumented pointers to it in the linked executable. +MH_CFLAGS=-xs |