This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [971031]: Fix for broken hypot funct. on m88k-motorola-sysv3


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]