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