Date: Sat, 10 Aug 2002 18:32:05 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Colin Percival <Colin_Percival@sfu.ca> Cc: freebsd-hackers@freebsd.org Subject: Re: release variability Message-ID: <3D55BE94.25BEBBB9@mindspring.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D55BE94.25BEBBB9>