Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!att!watmath!watserv1!vlsi!ajrooks From: ajrooks@vlsi.waterloo.edu (Alan Rooks) Newsgroups: comp.sys.mips Subject: compiling for mixed sys V and BSD Message-ID: <1990Jun6.210208.27046@vlsi.waterloo.edu> Date: 6 Jun 90 21:02:08 GMT Distribution: comp Organization: University of Waterloo Lines: 16 I'm trying to compile a program on a MIPS box (computer from MIPS, not just CPU). It has obviously been created on a MIPS-cpu machine, such as a DEC or an SGI, which has a mixed system V and BSD environment, because when I link with systype sysv, ld can't find bcopy(), and when I link with systype bsd43, ld can't find vfprintf(). Is there a reasonably clean way to get both libraries in the link? I don't think the program depends on being compiled with one or the other (i.e. it doesn't use Berkeley ioctls or system V IPC or anything like that), but I'll certainly have to be sure that the include files I use when compiling match the library routines I link with (e.g. for stdio). Anyone done this? Thanks in advance. Alan Rooks University of Waterloo ajrooks@vlsi.waterloo.edu