From owner-freebsd-hackers Sat Aug 10 18:33:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B25437B400 for ; Sat, 10 Aug 2002 18:33:53 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id A785043E5E for ; Sat, 10 Aug 2002 18:33:52 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0465.cvx40-bradley.dialup.earthlink.net ([216.244.43.210] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17dhc0-0003bg-00; Sat, 10 Aug 2002 18:33:45 -0700 Message-ID: <3D55BE94.25BEBBB9@mindspring.com> Date: Sat, 10 Aug 2002 18:32:05 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Colin Percival Cc: freebsd-hackers@freebsd.org Subject: Re: release variability References: <5.0.2.1.1.20020808000218.01fcd120@popserver.sfu.ca> <5.0.2.1.1.20020810024458.02035e48@popserver.sfu.ca> <5.0.2.1.1.20020810164528.0207fc90@popserver.sfu.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Colin Percival wrote: > >The hardest part has got to be the archive > >files; I don't see how it could be avoided, without destroying > >information, at least in the archive update case, and probably > >in the archive recreation from object files case. > > Could someone point me towards information on what these values are used > for? man ar See "-o" and "-u". The "-u" opinion in particular is used to updated the archive contents with only the new files. Say you have: LIB=foo SRCS=q.c r.c s.c t.c u.c v.c libfoo.a contains q.o, r.o, s.o, t.o, u.o, v.o And you modify only s.c, and rebuild. If your Makefile, etc., is set up properly, then only s.o will be updated in the archive, because only the s.o file has a date later than the date of the object file in the archive. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message