[comp.os.minix] Ordering libc.a - 1.4a

michaelb@vms.macc.wisc.edu (Michael Bloxham) (10/13/89)

Could someone please let me know how they ordered libc.a?  I get everything 
compiled (thanks to those who helped with command lines and utime.c!), 
and lorder'ed, but tsort gives:
Error: tsort - bcopy.s and memcpy.s are in a cycle
Error: tsort - brk.s and brksize.s are in a cycle
Error: tsort - fclose.s and malloc.s are in a cycle
Error: tsort - open.s and malloc.s are in a cycle
Error: tsort - Input contains a cycle


As I remember, I got a few of these in 1.3d and deleted the line from the 
lorder output of 'catchsig.s signal.s' and ignored the rest of the cycles, 
and everything worked.  What about in this case.  Are there any procedures 
or rules as to which lines to delete before feeding the output to tsort??

I'll take someone's ordering for 1.4a libc.a, but I would really like 
someone to explain how I can figure out the correct order on my own from
the lorder output!

BTW: the above error listing is with 'catchsig.s signal.s' line deleted 
from the lorder output. I thought I'd be consistent with my 1.3d 
procedures.

thanks,
mike

-----------------------------------------------------------------------
Michael L. Bloxham         | Real programmers don't comment their code. 
michaelb@vms.macc.wisc.edu | If it was hard to write, it should be hard
michaelb@WISCMACC.bitnet   | to understand.