|
From: | Nitin Gupta |
Subject: | New bug: "f" option not working |
Date: | Thu, 18 Dec 2003 15:18:45 -0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
%> rm -f libXYZ.a %> ar rucvf libXYZ.a ABCDEFGHIJKLM.o a - ABCDEFGHIJKLM.o %> ar t libXYZ.a ABCDEFGHIJKLM.o %> ar --version GNU ar 2.14 20030612 Copyright 2002 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. FYI, it is working fine in version 2.11.90 Nick Clifton wrote: Hi Nitin,OBSERVATION: I noticed that if the object name is 13 alphabets long say, ABCDEFGHIJKLM.o and I build an archive using 2.14 ar by ar rucv libXYZ.a ABCDEFGHIJKLM.o Now using 2.11 ar yields incomplete object name (missing .o) ar t libXYZ.a ABCDEFGHIJKLM.Try adding the "f" qualifier to the ar command line when creating the archive. ie: ar rucvf libXYZ.a ABCDEFGHIJKLM.o This should create an archive with truncated filenames that will then be compatible with the older 2.11 ar. Cheers Nick -- NI+IN |
[Prev in Thread] | Current Thread | [Next in Thread] |