Path: utzoo!news-server.csri.toronto.edu!rutgers!gatech!ncar!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!samsung!ernie.viewlogic.com!greg From: greg@suntan.viewlogic.com (Gregory Larkin) Newsgroups: comp.os.minix Subject: Question about lorder(1) Message-ID: <1991Mar13.222006.20232@viewlogic.com> Date: 13 Mar 91 22:20:06 GMT Sender: news@viewlogic.com (News Administrator) Organization: Viewlogic Systems, Inc., Marlboro, MA Lines: 36 Originator: greg@mobius Hi, Can anyone tell me how to get a "true" library ordering for libc.? I have /usr/src/lib split into ibm, posix, string, and ansi. I have the compiler support routines in /usr/lib/support. If I try: cd /usr/src/lib lorder */*.s /usr/lib/suppport/*.s > libc.lorder It says: lorder: Argument list too long. I tried running lorder in each subdirectory, directing the output to a file in each case. I then cat'ted the files together and ran tsort on the file. I got a library order, but it gives a different one if I cat the files together differently. May I assume that the library order is correct, as long as tsort does not report any cycles? BTW, I am using tsort_1_5_9 as included in the V1.5.10 upgrade kit. Thanks, -- Greg Larkin (ASIC Engineer)|"This is a fragile ball we are living on; Viewlogic Systems, Inc. |it's a miracle and we are destroying it.." 293 Boston Post Road West |Peter Garrett, Midnight Oil Marlboro, MA 01752 (greg@Viewlogic.COM)