From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christian Hofsetz" To: Subject: GNU portability? Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: X-SW-Source: 2000-q1/msg00184.html Message-ID: <20000401000000.u73Ip6D363gZflI_uzWswBFdg22keOMs9G9xqCqoI-8@z> Hi, I have a rendering software build upon GNU C++ version 2.95.1 running on a Windows 98 Pentium III system. It is plain C++ thus it should work in a Unix machine. I'm trying to run it on a SGI system w/ GNU C++ version 2.91.60. All programs do compile and the system runs. Amazingly, however, the images produced by the SGI are completely wrong. How come the same software using the same compiler produces different results? Why is it so? And although I use a binary file as input it is not a byte alignment problem - I've check it. Any hints? Thanks! :Christian PS.: I've also tried to use the CC compiler. It compiles, it runs, it generates the images but, the images are wrong but... they're different from the wrong images generate by the GNU compiled code in the same machine... Where's my mistake? ------------------------------------------------------------------------ Christian Hofsetz University of California Graduate Student __ ,__o The Visualization and Graphics Group __ _-\_<, Department of Computer Science __ (*)/'(*) hofsetz@cs.ucdavis.edu ~~~~~~~~~~ at Davis ------------------------------------------------------------------------ USA => http://graphics.cs.ucdavis.edu/~chofsetz BRAZIL=> http://inf.unisinos.br/~chris/index2.html ------- Algebraic symbols are used when you don't know what you're talking about ------------------------------------------------------------------------ "Gaucho longe dos pagos esta' sempre de passagem" - Oscar Machado ------------------------------------------------------------------------