xref: /dflybsd-src/contrib/gdb-7/README (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
1*86d7f5d3SJohn Marino		   README for GNU development tools
2*86d7f5d3SJohn Marino
3*86d7f5d3SJohn MarinoThis directory contains various GNU compilers, assemblers, linkers,
4*86d7f5d3SJohn Marinodebuggers, etc., plus their support routines, definitions, and documentation.
5*86d7f5d3SJohn Marino
6*86d7f5d3SJohn MarinoIf you are receiving this as part of a GDB release, see the file gdb/README.
7*86d7f5d3SJohn MarinoIf with a binutils release, see binutils/README;  if with a libg++ release,
8*86d7f5d3SJohn Marinosee libg++/README, etc.  That'll give you info about this
9*86d7f5d3SJohn Marinopackage -- supported targets, how to use it, how to report bugs, etc.
10*86d7f5d3SJohn Marino
11*86d7f5d3SJohn MarinoIt is now possible to automatically configure and build a variety of
12*86d7f5d3SJohn Marinotools with one command.  To build all of the tools contained herein,
13*86d7f5d3SJohn Marinorun the ``configure'' script here, e.g.:
14*86d7f5d3SJohn Marino
15*86d7f5d3SJohn Marino	./configure
16*86d7f5d3SJohn Marino	make
17*86d7f5d3SJohn Marino
18*86d7f5d3SJohn MarinoTo install them (by default in /usr/local/bin, /usr/local/lib, etc),
19*86d7f5d3SJohn Marinothen do:
20*86d7f5d3SJohn Marino	make install
21*86d7f5d3SJohn Marino
22*86d7f5d3SJohn Marino(If the configure script can't determine your type of computer, give it
23*86d7f5d3SJohn Marinothe name as an argument, for instance ``./configure sun4''.  You can
24*86d7f5d3SJohn Marinouse the script ``config.sub'' to test whether a name is recognized; if
25*86d7f5d3SJohn Marinoit is, config.sub translates it to a triplet specifying CPU, vendor,
26*86d7f5d3SJohn Marinoand OS.)
27*86d7f5d3SJohn Marino
28*86d7f5d3SJohn MarinoIf you have more than one compiler on your system, it is often best to
29*86d7f5d3SJohn Marinoexplicitly set CC in the environment before running configure, and to
30*86d7f5d3SJohn Marinoalso set CC when running make.  For example (assuming sh/bash/ksh):
31*86d7f5d3SJohn Marino
32*86d7f5d3SJohn Marino	CC=gcc ./configure
33*86d7f5d3SJohn Marino	make
34*86d7f5d3SJohn Marino
35*86d7f5d3SJohn MarinoA similar example using csh:
36*86d7f5d3SJohn Marino
37*86d7f5d3SJohn Marino	setenv CC gcc
38*86d7f5d3SJohn Marino	./configure
39*86d7f5d3SJohn Marino	make
40*86d7f5d3SJohn Marino
41*86d7f5d3SJohn MarinoMuch of the code and documentation enclosed is copyright by
42*86d7f5d3SJohn Marinothe Free Software Foundation, Inc.  See the file COPYING or
43*86d7f5d3SJohn MarinoCOPYING.LIB in the various directories, for a description of the
44*86d7f5d3SJohn MarinoGNU General Public License terms under which you can copy the files.
45*86d7f5d3SJohn Marino
46*86d7f5d3SJohn MarinoREPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
47*86d7f5d3SJohn Marinoon where and how to report problems.
48