d90e69564af795761eb6395791acd6ea0bedd7ed
[external/binutils.git] / gdb / config / sun4sol2.mh
1 # Host: Sun 4 or Sparcstation, running Solaris 2
2 XDEPFILES= procfs.o
3 XM_FILE= xm-sun4sol2.h
4 SYSV_DEFINE=-DSYSV
5 REGEX=regex.o
6 REGEX1=regex.o
7
8 # We need to find alloca() somewhere.  Gcc has one built in, but most other
9 # compilers don't.  Using the one in /usr/ucblib/libucb.a is tricky because
10 # we have to be careful not to pull in anything else from the library (lots
11 # of things are broken in most SVR4 versions).  The best solution is to just
12 # compile alloca.c and link it into the executable.  If we end up not needing
13 # it, then the code is just dead.  Once alloca.c moves to libiberty, then we
14 # can eliminate this semi-kludge.
15 ####ALLOCA=alloca.o
16 ####ALLOCA1=alloca.o
17
18 # SVR4 comes standard with terminfo, and in some implementations, the
19 # old termcap descriptions are incomplete.  So ensure that we use the
20 # new terminfo interface and latest terminal descriptions.
21 TERMCAP=-ltermlib
22
23 # SVR4 puts the BSD compatible install in /usr/ucb.
24 INSTALL = /usr/ucb/install -c
25
26 # Sun's compilers require the -xs option to produce debug information
27 # in the final linked executable.  Otherwise they leave it in the .o
28 # files only, with undocumented pointers to it in the linked executable.
29 MH_CFLAGS=-xs