|
Packit Service |
72eb06 |
README for GNU development tools
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
This directory contains various GNU compilers, assemblers, linkers,
|
|
Packit Service |
72eb06 |
debuggers, etc., plus their support routines, definitions, and documentation.
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
If you are receiving this as part of a GDB release, see the file gdb/README.
|
|
Packit Service |
72eb06 |
If with a binutils release, see binutils/README; if with a libg++ release,
|
|
Packit Service |
72eb06 |
see libg++/README, etc. That'll give you info about this
|
|
Packit Service |
72eb06 |
package -- supported targets, how to use it, how to report bugs, etc.
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
It is now possible to automatically configure and build a variety of
|
|
Packit Service |
72eb06 |
tools with one command. To build all of the tools contained herein,
|
|
Packit Service |
72eb06 |
run the ``configure'' script here, e.g.:
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
./configure
|
|
Packit Service |
72eb06 |
make
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
To install them (by default in /usr/local/bin, /usr/local/lib, etc),
|
|
Packit Service |
72eb06 |
then do:
|
|
Packit Service |
72eb06 |
make install
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
(If the configure script can't determine your type of computer, give it
|
|
Packit Service |
72eb06 |
the name as an argument, for instance ``./configure sun4''. You can
|
|
Packit Service |
72eb06 |
use the script ``config.sub'' to test whether a name is recognized; if
|
|
Packit Service |
72eb06 |
it is, config.sub translates it to a triplet specifying CPU, vendor,
|
|
Packit Service |
72eb06 |
and OS.)
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
If you have more than one compiler on your system, it is often best to
|
|
Packit Service |
72eb06 |
explicitly set CC in the environment before running configure, and to
|
|
Packit Service |
72eb06 |
also set CC when running make. For example (assuming sh/bash/ksh):
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
CC=gcc ./configure
|
|
Packit Service |
72eb06 |
make
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
A similar example using csh:
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
setenv CC gcc
|
|
Packit Service |
72eb06 |
./configure
|
|
Packit Service |
72eb06 |
make
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
Much of the code and documentation enclosed is copyright by
|
|
Packit Service |
72eb06 |
the Free Software Foundation, Inc. See the file COPYING or
|
|
Packit Service |
72eb06 |
COPYING.LIB in the various directories, for a description of the
|
|
Packit Service |
72eb06 |
GNU General Public License terms under which you can copy the files.
|
|
Packit Service |
72eb06 |
|
|
Packit Service |
72eb06 |
REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
|
|
Packit Service |
72eb06 |
on where and how to report problems.
|