* nlmconv.c (setup_sections): Make sure that we align the
[deliverable/binutils-gdb.git] / binutils / README
CommitLineData
eba174ce 1This is a beta release of a completely rewritten binutils distribution.
d08a5233
PB
2The linker (ld) has been moved into a separate directory,
3which should be ../ld. Linker-specific notes are in ../ld/README.
4
5These programs have been tested on various architectures.
6Most recently tested are sun3 and sun4s running sunos4,
7as well as Sony News running newsos3.
8However, since this is a beta release taken directly from an
9evolving source tree, there might be some problems. In particular,
10the programs have not been ported to as many machines as the
11old binutils. There are also features of the old versions
12that are missing on the new programs. We would appreciate
13patches to make things run on other machines; especially welcome
14are fixes for what used to work on the old programs!
eba174ce
PB
15(See ./TODO, as well a ../bfd/TODO and ../ld/TODO.)
16
17Recent changes are in ./NEWS.
d08a5233
PB
18
19Unpacking and Installation -- quick overview
20==========================
21
22In this release, the binary utilities, the linker, the generic GNU include
eba174ce
PB
23files, the BFD ("binary file description") library, gprof, and getopt all
24have directories of their own underneath the binutils-2.1 directory.
d08a5233
PB
25The idea is that a variety of GNU tools can
26share a common copy of these things. Configuration scripts and
27makefiles exist to cruise up and down this directory tree and
28automatically build all the pieces in the right order.
29
eba174ce
PB
30When you unpack the binutils-2.1.tar.Z file, you'll get a directory called
31something like `binutils-2.1', which contains:
d08a5233
PB
32
33 DOC.configure README config/ configure* ld/
34 Makefile bfd/ config.status* configure.in libiberty/
35 Makefile.in binutils/ config.sub include/ texinfo/
36
37To build binutils, you can just do:
38
eba174ce
PB
39 cd binutils-2.1
40 ./configure [ --with-minimal-bfd=yes ]
d08a5233
PB
41 make
42 make install # copies the programs files into /usr/local/bin by default.
43
eba174ce
PB
44The --with-minimal-bfd-yes flag is a temporary kludge. Using it makes
45the executables smaller, at the price of only being able to handle
46the default binary file format. A more flexible mechanism is planned.
47
d08a5233
PB
48This will configure and build all the libraries as well as binutils
49and the linker.
50
51The binutils can be used in a cross-development environment.
52The file DOC.configure contains more information.
53
54Porting
55=======
eba174ce 56Binutils-2.1 supports many different architectures, but there
d08a5233
PB
57are many more not supported, including some that were supported
58by earlier versions. We are hoping for volunteers to
59improve this situation.
60
61The major effort in porting binutils to a new host and/or target
62architecture involves the BFD library. There is some documentation
63in ../bfd/doc. The file ../gdb/doc/gdbint.texinfo (distributed
eba174ce 64with gdb-4.x) may also be of help.
d08a5233
PB
65
66If your system uses some variant of old-style a.out-format,
67you can start with a copy of bfd/newsos3.c, and edit it to fit.
68(You may also need to tweak bfd/aout-target.h.)
69Alternatively, you could use the host-aout.c target. This is a
70special kludge that only works for native (non-cross) configurations.
71
72Reporting bugs
73==============
74If you can't track down a bug and send suggestions/patches
75for fixes, you should probably *not* be using this release.
eba174ce
PB
76We have little time to spend tracking down whatever random bugs you
77may run into (except for configurations that Cygnus supports for
78its customers). The general place to send bug reports or patches
79is to bug-gnu-utils@ai.mit.edu; you can also send them directly to
80bothner@cygnus.com or sac@cygnus.com.
81
82
This page took 0.081772 seconds and 4 git commands to generate.