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