[rescue] glibc on sun3
Jonathan Patschke
jp at celestrion.net
Fri Apr 24 20:18:53 CDT 2020
On Fri, 24 Apr 2020, Dan Moisa wrote:
> I've been trying to get both the X11R6.8 from sun3arc going, as well as
> compiling a dhcp package. They all get stuck in missing memmove, which I
> gathered comes from glibc. Is that the only source?
Nope. memmove is in the C90 standard library, and glibc is only one
implementation of the C standard library. I don't think SunOS 4 has a
fully ANSI-compliant C library.
SunOS 4 has bcopy. Put this into the top (after the #include lines) of
the source files that don't compile
static void *memmove(dst, src, len)
void *dst;
void *src;
size_t len;
{
bcopy(src, dst, len);
return dst;
}
--
Jonathan Patschke | "The more you mess with it, the more you're
Austin, TX | going to *have* to mess with it."
USA | --Gearhead Proverb
More information about the rescue
mailing list