[ODE] Different behaviors with different C++ compilers
Steffen Wischmann
steffen.wischmann at ais.fraunhofer.de
Wed Jul 2 11:42:02 2003
> Try using --float-store
>
Thanx for the hint, but that doesn't help.
It seems that I had no other choice, than using always the same compiler.
Does anybody know a c++ compiler, which is easily installable on
different linux systems, I heard it is a kind of tricky, to replace a
gcc compiler with an older version.
But I don't know, because I'm not very advanced in that matter.
Thanx for your help
>>Steffen Wischmann wrote:
>>
>>
>>>Hi,
>>>
>>>I ran my simulation (Creature with NN Controller) on two differnt linux
>>>distribution, one with the gcc compiler ver. 3.2-36, the other one with
>>>ver. 2.95.3-52. I'm using ode 0.035 on both machines.
>>>If I compile the code with the older compiler, and copy the compiled
>>>code to the machine with the newer compiler version, I got exactly the
>>>same behavior. But if I compile the same source code again with the
>>>newer compiler version, the behavior is different.
>>>
>>>Does anybody know something about that?
>>>
>>
>>The improved optimiser probably re-arranged some instructions, and
>>possibly changed when things are read from / written to registers (which
>>can make a difference with floating point numbers). This is unavoidable
>>I'm afraid (it can be improved by using no optimisation)
>>
>>Chris
>>
>>_______________________________________________
>>ODE mailing list
>>ODE@q12.org
>>http://q12.org/mailman/listinfo/ode
>
> Or
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode
>
--
Steffen Wischmann
Fraunhofer Institute for Autonomous Intelligent Systems (FhG-AiS)
Schloss Birlinghoven, D-53754 Sankt Augustin, Germany.
Phone: +49-2241-14-2952
Fax: +49-2241-14-2384
Web: http://www.ais.fraunhofer.de/INDY
Mail: steffen.wischmann@ais.fraunhofer.de