SCO compiler, cc or rcc? rounding errors?
Posted in 1996
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Third-Party Tools & Monitoring
This is very strange, has anybody seen this before? Any help, advice, would be appreciated. Machine A is the development machine, running Sco on a Dec. Machine B is the "Live" machine. running Sco on a compaq. On machine A, c4gl uses cc to compile programs. On machine B, c4gl is using rcc to compile programs. On machine A, programs work when compiled with cc or rcc. On machine B, programs work when compiled with rcc, yet compilation with cc rounds float variables to whole values, i.e 10.65 = 10.00 Question is, why is machine B ( compaq ) using rcc, rather than cc to compile programs. rcc works so this means somebody knows there is a problem with cc? If this is the case, why does cc cause rounded errors? enlighten me, please? Is it safe to change Machine A to compile using rcc? this way programs can be copied to Machine B or could this cause other side-effects. Thanks. BTW Flags on rcc are -Dunix -Di386 -- -----------------------------. In nature there are neither rewards nor ! Email bash@bash.demon.co.uk ! punishments - there are consequences. `-----------------------------' - Illich, Ivan.: