ajrooks@vlsi.waterloo.edu (Alan Rooks) (06/07/90)
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
lgy@phys.washington.edu (Laurence G. Yaffe) (06/08/90)
ajrooks@vlsi.waterloo.edu (Alan Rooks) writes:
-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().
Try adding -lbsd to the sysV environment compile line.
-Alan Rooks University of Waterloo ajrooks@vlsi.waterloo.edu
--
--------------------------------------------------------------------------
Laurence G. Yaffe Internet: lgy@newton.phys.washington.edu
University of Washington Bitnet: yaffe@uwaphast.bitnet