bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ar 2.14 is not backward compatible with 2.11


From: Nick Clifton
Subject: Re: ar 2.14 is not backward compatible with 2.11
Date: Wed, 17 Dec 2003 09:10:24 +0000
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux)

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
        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]