Binutils, The Gnu Binary Utilities; Using Info, The Documentation Tools - Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE Manual

Developer tools guide
Hide thumbs Also See for ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE:
Table of Contents

Advertisement

10
how the commands work; it is up to you to supply commands that update the target file properly. All
does is execute the commands in the rule you have specified when the target file needs updating.
make
For more details, refer to Using

2.11. binutils, the GNU Binary Utilities

, the GNU binary utilities, include
binutils
and
. For targets that use the ELF file format, there is also a tool called
strip
There are three binary utilities,
the porting layer application for Win32 development. The most important of the binary utilities are
and
objcopy
objdump
is a tool to convert object and executable files. It can add and remove sections and sym-
objcopy
bols, but the most commonly used feature is its ability to change the file format. For example, it can
convert an ELF or COFF format executable into an S-record or Intel I-Hex format file. These two
formats are often used in building ROM images for standalone and embedded systems. For more
information, refer to the objcopy Utility section in Using binutils, the Gnu Binary Utilities.
is a tool to display information about the contents of an object or executable file. It can
objdump
display symbol tables and section headers and it can also act as a disassembler.
knows about archives and libraries and can be used to display information on all of the object files
inside them. For more information, refer to the objdump Utility section in Using binutils, the Gnu
Binary Utilities.
A few of the more useful options for
display symbols),
disassembly).
normally only disassembles sections that are expected to contain instructions. To
-d
disassemble all sections, use
complete address on each line of the disassembler's output.

2.12. Using info, the Documentation Tools

provides the sources for documentation for the GNU tools; it requires the following tools, in-
info
cluding the TeX tools.
Texinfo, texindex, texi2dvi
Documentation formatting tools. Texinfo requires TEX, the free technical documentation format-
ting tool written by Donald Knuth. Refer to Texinfo: The GNU Documentation Format (ISBN:
1-882114 67 1).
,
makeinfo
info
Online documentation tools.
pages
man
Includes documentation on all the tools and programs in this release.
FLEX: A Fast Lexical Analyzer Generator
Generates lexical analyzers suitable for GCC and other compilers. Refer to Flex: The Lexical
Scanner Generator (ISBN: 1-882114 21 3).
.
make
addr2line
.
(to display private header information) and
-p
instead. The option
-D
Chapter 2. Basic Principles of the Tools
,
,
ar
nm
objcopy
,
, and
windres
dlltool
include:
objdump
-h
--prefix-addresses
,
,
,
objdump
ranlib
readelf
, that are for use with Cygwin,
(to display section headers),
for assembler (to display a
-d
can be used to print a
,
,
size
strings
.
also
Objdump
(to
-t

Advertisement

Table of Contents
loading

Table of Contents