Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!think!husc6!cmcl2!beta!myxm
From: myxm@beta.UUCP
Newsgroups: comp.sys.ibm.pc
Subject: Library Ordering Routine?
Message-ID: <7317@beta.UUCP>
Date: Thu, 9-Jul-87 10:39:19 EDT
Article-I.D.: beta.7317
Posted: Thu Jul  9 10:39:19 1987
Date-Received: Sun, 12-Jul-87 01:48:54 EDT
Organization: Los Alamos Natl Lab, Los Alamos, N.M.
Lines: 15
Keywords: lib order lorder

Is there a routine available which will read a library file (.LIB) and
order the modules in it so that LINK only requires one pass through in
order to resolve symbols?

I am roughly looking for something which would do this under MS-DOS:

	ar cr library `lorder *.o | tsort`

(That is what I do on UNIX!)

Thanx for any information.

Mike Mitchell
myxm@lanl.arpa
{...}!cmcl2!lanl!myxm