With A Script - Red Hat ENTERPRISE LINUX 3 - USING BINUTILS Using Instructions

Using binutils, the gnu binary utilities
Hide thumbs Also See for ENTERPRISE LINUX 3 - USING BINUTILS:
Table of Contents

Advertisement

6
This option will cause gnu
convenient when extracting a single file from an archive created by another tool.
s
Write an object-file index into the archive, or update an existing one, even if no other change is
made to the archive. You may use this modifier flag either with any operation, or alone. Running
on an archive is equivalent to running
ar s
S
Do not generate an archive symbol table. This can speed up building a large library in several
steps. The resulting archive can not be used with the linker. In order to build a symbol table, you
must omit the
S
u
Normally,
ar r
the files you list that are newer than existing members of the same names, use this modifier. The
modifier is allowed only for the operation
u
allowed, since checking the timestamps would lose any speed advantage from the operation
v
This modifier requests the verbose version of an operation. Many operations display additional
information, such as filenames processed, when the modifier
V
This modifier shows the version number of
ignores an initial option spelt
ar
this option is the default for gnu
does not support
-X32
2.2. Controlling
¡
ar -M [
script
If you use the single command-line option
tary command language. This form of
from a terminal. During interactive use,
executing even after errors. If you redirect standard input to a script file, no prompts are issued, and
abandons execution (with a nonzero exit code) on any error.
ar
The
command language is not designed to be equivalent to the command-line options; in fact,
ar
it provides somewhat less control over archives. The only purpose of the command language is to
ease the transition to gnu
program.
The syntax for the
ar
Commands are recognized in upper or lower case; for example,
following descriptions, commands are shown in upper case for clarity.
A single command may appear on each line; it is the first word on the line.
Empty lines are allowed, and have no effect.
to match file names using a complete path name, which can be
ar
modifier on the last execution of
. . . inserts all files listed into the archive. If you would like to insert only those of
-X32_64
.
does not support any of the other
ar
ar
which is the default for AIX

with a Script

ar
]
ar
ar
for developers who already have scripts written for the MRI "librarian"
ar
command language is straightforward:
on it.
ranlib
, or you must run
ar
(replace). In particular, the combination
r
.
ar
, for compatibility with AIX. The behaviour produced by
.
ar
with
, you can control its operation with a rudimen-
-M
ar
operates interactively if standard input is coming directly
prompts for input (the prompt is
on the archive.
ranlib
is appended.
v
options; in particular, it
-X
¢
), and continues
AR
is the same as
LIST
Chapter 2. ar
is not
qu
.
q
. In the
list

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 3 - USING BINUTILS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Enterprise linux 3

Table of Contents