Return-Path: Received: from ernst.mach.cs.cmu.edu by ERNST.MACH.CS.CMU.EDU id aa10592; 28 Jan 92 22:49:34 EST To: mach3@CS.CMU.EDU Subject: library organization From: Richard Draves Date: Tue, 28 Jan 92 22:49:32 EST Sender: Richard_Draves@ERNST.MACH.CS.CMU.EDU The recent MK69/USER12 merges reorganized the libraries. Basically, some stuff moved out of libmach.a into separate libraries (libcs, libnetname, libmachid, libnetmemory, libservice) and the libmach sources moved into the MK collection, so that the same directory builds libmach.a and libmach_sa.a. crt0.o is now installed separately in lib; it is not in a library. This is the new lib/README in the AFS system release area: Common libraries for Mach programs that run on a Unix emulation are: -l{netname,machid,service,netmemory} -lthreads -lmach -lcs Common libraries for Mach programs that run stand-alone (no Unix) are: -lthreads -lmach_sa In the mach3 release area in lib there are the following libraries: libmach.a System call and kernel call interfaces to the kernel. Mig support functions. Some Mach utility functions, like mach_error_string. Source in mk/user/libmach/. libmach_sa.a Like libmach.a, except that it: Does not contain some Unixoid functions, like task_by_pid. Does contain some libc-like functions, like strcpy. Source in mk/user/libmach/. libthreads.a C-Threads package. Source in mk/user/threads/. libcs.a CMU-CS libc-like functions. Selected functions from CMU's libcs and libsys. Source in user/lib/libsys/. libnetname.a netname (servers/netname.defs) interfaces. Source in user/lib/libnetname/. libmachid.a machid (servers/machid*.defs) interfaces. Source in user/lib/libmachid/. libservice.a service (servers/service.defs) interfaces. Source in user/lib/libservice/. libnetmemory.a netmemory (servers/netmemory.defs) interfaces. Source in user/lib/libnetmemory/. libxmm.a Joe Barrera's External Memory Management toolkit. Source in user/lib/libxmm/. libmach3_*.a Obsolete libraries. Rich