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