Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!amdcad!sun!decwrl!labrea!Lindy!vandys From: vandys@Lindy.UUCP Newsgroups: comp.os.minix Subject: Re: RS-232 for MINIX Message-ID: <229@Lindy.STANFORD.EDU> Date: Wed, 3-Jun-87 11:18:06 EDT Article-I.D.: Lindy.229 Posted: Wed Jun 3 11:18:06 1987 Date-Received: Sat, 6-Jun-87 04:05:23 EDT References: <227@Lindy.STANFORD.EDU> Organization: Stanford University Information Technology Services Lines: 20 Keywords: RS-232 MINIX Summary: Missing file in distribution Well, I had to forget something. This is needed to build the modified init.c. Incidentally, I have a trick for linking against modules which aren't in the main C library (libc.a). I have built a second library, named libaux.a, and I put all new modules in there (for instance, the getgrent & getpwent modules). Then when I compile, I say something like: % cc -o foo foo.c -laux to search the library. Of course, the standard library is then searched after libaux.a. Good luck! Andy Valencia ---- Cut here for setpgrp.c ---- #include "../include/lib.h" PUBLIC int setpgrp() { return callm1(MM, SETPGRP, 0, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR); }