This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Install Failed: Unixware
- To: Randy Joiner <rjoiner at tc dot net>, egcs at cygnus dot com
- Subject: Re: Install Failed: Unixware
- From: Robert Lipe <robertl at dgii dot com>
- Date: Thu, 1 Oct 1998 09:55:30 -0500
- References: <Pine.LNX.3.96.980930164322.6926o-100000@tc.net>
Randy Joiner wrote:
> UX:acomp: ERROR: "../../../egcs-1.1b/texinfo/lib/memcpy.c", line 11:
> identifier redeclared: memcpy
> UX:acomp: WARNING: "../../../egcs-1.1b/texinfo/lib/memcpy.c", line 14:
> Function illegally defined in hosted mode: memcpy
I recognize this but was hoping to keep my head in the sand.
The problem is that some of SCO's cc (as found in UW2, UW7, and therefore
the UD) know that you're trying to outsmart it by by replacing its highly
tuned really groovy memcpy with a version written in C.
You can get around this problem by adding -Kno_host to your build lines.
THe easiest way to do this is to do something like
CC="/udk/usr/ccs/bin/cc -Kno_host" /play/egcs/configure ....
The better solution is to go fix up this code to quit building memcpy
when it detects the system already has one. It could be (and probably
is) replacing a highly optimized system-specific memory copier with a
humble little byte-by-byte copy.
>From memory, I think there is at least one more occurrence of this problem
in the egcs tree somewhere....
RJL