help-make
[Top][All Lists]
Advanced

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

Re: About make manual 11.3 archive(member) syntax a(m) in prerequisite


From: lijh8
Subject: Re: About make manual 11.3 archive(member) syntax a(m) in prerequisite
Date: Thu, 2 Jan 2025 00:01:32 +0800

Update.


When ARFLAGS is without U, the datetime of the object archive(member) is reset 
to zero.
It renders the target being always outdated and rebuilds the target.


$ ar -tv libfoo.a 
rw-r--r-- 0/0  78776 Jan  1 08:00 1970 foo.o
$ 



When the ARFLAGS is with U, the timestamp is kept in archive(member) in the 
target.


$ ar -tv libfoo.a 
rw-rw-r-- 1000/1000  78776 Jan  1 23:49 2025 foo.o
$ 

reply via email to

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