ar/usr/ccs/bin/ar
[-V
] key
[args
] [posname
] archive
[files
]
Maintain a group of files
that are combined into a file archive
. Used most commonly to create and update library files as used by the loader (ld
). Only one key letter may be used, but each can be combined with additional args
(with no separations between). posname
is the name of a file in archive
. When moving or replacing files
, you can specify that they be placed before or after posname
. See lorder
in Appendix B, Obsolete Commands
, for another example. On Solaris, key
and args
can be preceded with a Key
Args
ExampleUpdate the versions of object files in mylib.a with the ones in the current directory. Any files in mylib.a that are not in the current directory are not replaced.
|
|