[comp.os.minix] Question about lorder

greg@suntan.viewlogic.com (Gregory Larkin) (03/14/91)

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)