diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-12 17:34:19 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-12 17:34:19 +0000 |
commit | fe84ea5db28793a9ec7bc78962f0c67afab54c59 (patch) | |
tree | 6a2c7fb930e334e7f6e37cdbcecc07d085718d70 /binutils/binutils.texi | |
parent | 71add731336d5a00710088c981edb9d6de3e2de9 (diff) | |
download | gdb-fe84ea5db28793a9ec7bc78962f0c67afab54c59.zip gdb-fe84ea5db28793a9ec7bc78962f0c67afab54c59.tar.gz gdb-fe84ea5db28793a9ec7bc78962f0c67afab54c59.tar.bz2 |
* ar.c (full_pathname): New static variable.
(map_over_members): Call normalize on command line parameter.
(usage): Mention P modifier.
(normalize): If full_pathname is true, don't do anything.
(main): Accept P modifier.
* binutils.texi, ar.1: Document P modifier.
Diffstat (limited to 'binutils/binutils.texi')
-rw-r--r-- | binutils/binutils.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi index ddef706..b2a3129 100644 --- a/binutils/binutils.texi +++ b/binutils/binutils.texi @@ -387,6 +387,14 @@ not compatible with the native @code{ar} program on some systems. If this is a concern, the @samp{f} modifier may be used to truncate file names when putting them in the archive. +@item P +Use the full path name when matching names in the archive. @sc{gnu} +@code{ar} can not create an archive with a full path name (such archives +are not POSIX complaint), but other archive creators can. This option +will cause @sc{gnu} @code{ar} to match file names using a complete path +name, which can be convenient when extracting a single file from an +archive created by another tool. + @item i Insert new files @emph{before} an existing member of the archive. If you use the modifier @samp{i}, the name of an existing archive |