This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [971031]: Fix for broken hypot funct. on m88k-motorola-sysv3
- To: egcs at cygnus dot com
- Subject: Re: [971031]: Fix for broken hypot funct. on m88k-motorola-sysv3
- From: manfred at s-direktnet dot de
- Date: Fri, 12 Dec 97 10:45:28 +0100
- References: <9711051320.AA18683@lts.sel.alcatel.de> <16860.881909814@hurl.cygnus.com>
- Reply-To: egcs at cygnus dot com
On Thu, 11 December 1997, 23:56:54, law@cygnus.com wrote:
>
> In message <9711051320.AA18683@lts.sel.alcatel.de>you write:
> > Wed Nov 5 13:31:40 1997 Manfred Hollstein <manfred@s-direktnet.de>
> >
> > * fixincludes (str{len,spn,cspn} return value): Handle different
> > layout on sysV88.
> > (hypot): Provide a fake for hypot which is broken on m88k-motorola-sysv3.
> Thanks. I've installed this patch.
>
> However, is is really necessary to check the target system? Can't we just apply
> the fix regardless of the target?
Well, I added this for two reasons:
1. I didn't want to make changes which would probably affect other systems.
2. Some checks should be rewritten to use my new ${target...} stuff, because
building a cross compiler will otherwise fail to fix some header files;
most tests are like `if [ -f /vmunix ]...' which of course can be
misleading (or even wrong!) in a cross environment.
BTW: This patch has been obsoleted by the second part of
<http://www.cygnus.com/ml/egcs-bugs/1997-Dec/0137.html>
Manfred