Path: utzoo!attcan!utgpu!watmath!att!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!vsi!friedl From: friedl@vsi.COM (Stephen J. Friedl) Newsgroups: comp.sys.att Subject: Re: mkdir missing from libc.a Message-ID: <1160@vsi.COM> Date: 10 Aug 89 04:48:48 GMT References: <475@mccc.UUCP> Distribution: na Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 30 In article <475@mccc.UUCP>, pjh@mccc.UUCP (Pete Holsberg) writes: > > My SV R3.0 Programmer's Reference manual lists mkdir(2) as an available > system call, but ar -t libc.a shows that mkdir.o is not there. What > does this mean? This comes up all the time. Unfortunately, AT&T's operating systems and C compilers are packaged separately, and while the OS supports mkdir as a system call, an old libc.a won't have the trivial wrapper function for it. C compilers releases 4.1 [no relationship to SVR4] and beyond all have the SVR3 stuff, while Issue 3, pcc2, and C-FP+ probably don't. You can find out your compiler type by cc -V and see what the message is. If you've an old compiler, you can get a new compiler (CPLU4.2 is the latest), write wrapper functions in assembler, or borrow mkdir.o from somebody's current libc.a. If you don't have 4.2, you're missing a phenomenal optimizer. Steve -- Stephen J. Friedl / V-Systems, Inc. / Santa Ana, CA / +1 714 545 6442 3B2-kind-of-guy / {attmail uunet}!vsi!{bang!}friedl / friedl@vsi.com "My new bestseller, _Teach_Yourself_to_Read_, is now available everywhere" -me