This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: supporting deterministic 'ar'
Cary Coutant <ccoutant@google.com> writes:
>> Alternatively, you could punt the problem to the user, and add a
>> --timestamp=str option, where str is a getdate()-compatible date
>> string. (And add --uid=n and --gid=n options as well. That would solve
>> your problem of what to call the option.)
>
> Oh, and what about the file mode? It's probably a good idea to force
> that to a standard value (100444? 100644? 100640? 100600?).
That's necessary, yes.
I'd pick 10644, but unless someone actually unpacks the ar file it
won't make much of a difference.
--
Perry E. Metzger perry@piermont.com