Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!ibmpa!slo!jsalter From: jsalter@slo.uucp (James Salter) Newsgroups: comp.unix.aix Subject: Re: ar, lorder & tsort Keywords: ranlib ld ar lorder tsort Message-ID: <4500@ibmpa.UUCP> Date: 14 Mar 90 19:04:57 GMT References: <2394@csm9a.UUCP> Sender: news@ibmpa.UUCP Reply-To: jsalter@slo.UUCP (James Salter) Distribution: usa Organization: IBM AWD, Palo Alto Lines: 24 In article <2394@csm9a.UUCP> jkcohen@csm9a.UUCP ( Math/CWP) writes: >Question about PS/2 AIX, v1.1: > >I read the 2nd sentence of DESCRIPTION on ar man page to say that >ranlib isn't needed. Indeed, ranlib is *not* in the distribution. >What muddies the water for me is that the lorder and tsort man pages >say that the old lorder|tsort methodology *should* be used. > >So do I just "ar" or do I "lorder|tsort|ar" ? Neither. You type: ar qv `lorder | tsort` It should be relatively simple to create a shell script which would take an existing archive and make sure it's in the correct order using lorder and tsort, also. >Jack K. Cohen >jkc@dix.mines.colorado.edu jim/jsalter IBM AWD T465/(415)855-4427 VNET: JSALTER at PALOALTO UUCP: ..!uunet!ibmsupt!jsalter Disc: Any opinions are mine. IP: ibmsupt!jsalter@uunet.uu.net "PS/2 it, or DIE!"