* config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.
[deliverable/binutils-gdb.git] / gdb / config / sparc / sun4sol2.mh
1 # Host: Sun 4 or Sparcstation, running Solaris 2
2 XDEPFILES=
3 XM_FILE= xm-sun4sol2.h
4 XM_CLIBS= -lnsl
5 NAT_FILE= nm-sysv4.h
6 NATDEPFILES= corelow.o core-svr4.o exec.o solib.o procfs.o fork-child.o
7 SYSV_DEFINE=-DSYSV
8 REGEX=regex.o
9 REGEX1=regex.o
10
11 # We need to find alloca() somewhere. Gcc has one built in, but most other
12 # compilers don't. Using the one in /usr/ucblib/libucb.a is tricky because
13 # we have to be careful not to pull in anything else from the library (lots
14 # of things are broken in most SVR4 versions). The best solution is to just
15 # compile alloca.c and link it into the executable. If we end up not needing
16 # it, then the code is just dead. Once alloca.c moves to libiberty, then we
17 # can eliminate this semi-kludge.
18 ####ALLOCA=alloca.o
19 ####ALLOCA1=alloca.o
20
21 # SVR4 comes standard with terminfo, and in some implementations, the
22 # old termcap descriptions are incomplete. So ensure that we use the
23 # new terminfo interface and latest terminal descriptions.
24 TERMCAP=-ltermlib
25
26 # Solaris-2 makes `install' optional in the Berkeley compatability pkg.
27 # cp will do fine.
28 INSTALL = cp
29
30 # If you are compiling with Sun's compiler, add the -xs option to CC
31 # (e.g. `make CC="cc -xs"').
32 # Sun's compilers require the -xs option to produce debug information
33 # in the final linked executable. Otherwise they leave it in the .o
34 # files only, with undocumented pointers to it in the linked executable.
35 # This is commented out because we don't assume that the Sun compiler
36 # is in use.
37 #MH_CFLAGS=-xs
This page took 0.031726 seconds and 5 git commands to generate.