Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!wuarchive!udel!mmdf From: HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) Newsgroups: comp.os.minix Subject: GCC: floating point constants byteorder problem Message-ID: <27589@nigel.ee.udel.edu> Date: 16 Aug 90 07:51:43 GMT Sender: usenet@ee.udel.edu Lines: 12 I discovered that my GCC does not generat correct double constants, e.g. when pushing them to the stack on Sun386i, but it does when GCC was hosted on the Sparcstation. I think the error is in real.h, where CONST_DOUBLE_LOW etc. are wrong when GCC is used for cross-compilation. The floating point representation on the Host affects the representation on the target. I would not have believed this because the GNU assembler, in contrast, spends much effort on doing things right. My GCC is version 1.35, so I want to know if that has been improved in subsequent versions. C.v.W. P.S. do not always suspect the cause of the errors in YOUR library.