home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 12966 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.6 KB

  1. Path: sparky!uunet!mcsun!uknet!warwick!dcs.warwick.ac.uk!maths.warwick.ac.uk!steve
  2. From: steve@maths.warwick.ac.uk (Steve Rumsby)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: gcc2.2.2 on Iris Crimson (HELP!)
  5. Message-ID: <1992Aug27.131203.11184@dcs.warwick.ac.uk>
  6. Date: 27 Aug 92 13:12:03 GMT
  7. References: <TOTSUKA.92Aug27145458@avaia.av.crl.sony.co.jp>
  8. Sender: news@dcs.warwick.ac.uk (Network News)
  9. Distribution: comp
  10. Organization: Geometry Group, Maths Institute, Warwick University, UK.
  11. Lines: 25
  12. Nntp-Posting-Host: severn
  13.  
  14. In article <TOTSUKA.92Aug27145458@avaia.av.crl.sony.co.jp>, totsuka@av.crl.sony.co.jp (Takashi Totsuka) writes:
  15. >     Is there anyone who has successfully installed GCC(G++)2.2.2 and
  16. >     libg++2.2.2 on IRIS Crimson ?
  17. >     I am having a strange problem with one of the test program
  18. >     (tComplex.cc).  The sqrt() method of Complex class returns
  19. >     different value each time it is called with the same constant
  20. >     arguments...  Specifying -mcpu=r4000 didn't help.
  21. >     I appreciate any suggestions. Thanks in advance.
  22. >
  23. Same things happens on a R3000 Indigo too. I finally trace the problem
  24. to the hypot function in the C library (SGI's library, not glibc) which
  25. was returning bizarre results, but only after printing a double on cout!
  26. I couldn't see any way that these two functions could interfere with
  27. each other, so I gave up at that point. If anybody has any ideas about
  28. what might be going on, I'd love to hear them.
  29.  
  30. As above, this is all compiling libg++-2.2.2 with gcc-2.2.2.
  31.  
  32. Steve.
  33. -- 
  34. UUCP:     ...!uknet!warwick!steve    Internet: steve@maths.warwick.ac.uk
  35. JANET:     steve@uk.ac.warwick.maths    PHONE:     +44 203 524657
  36.