From fe84ea5db28793a9ec7bc78962f0c67afab54c59 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 12 Sep 1999 17:34:19 +0000 Subject: * 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. --- binutils/binutils.texi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'binutils/binutils.texi') 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 -- cgit v1.1