Re: Are EuBins supposed to be functional builds?
- Posted by jimcbrown (admin) Oct 12, 2015
- 1827 views
The reason I ask is that I downloaded eubin-2015-10-11-16462e686646+.zip from /eubins/windows/4.1.0/64-bit. euc and eui run okay when lauched without parameters but do nothing when given a script to work through
I tried all eubins for 64bit Windoze up to the first 2015 eubin, and they all failed the same way.
There's something wrong with the scanner. I tried running buzz.ex and it failed on both 64bit Windoze and 64bit Linux/GNU.
However, as a workaround, I was able to get this working on both by changing std/mathcons.e
Change
TWOPI = 6.28318_53071_79586_47692,
to
TWOPI = 2*PI,
Change
LN10 = 2.30258_50929_94045_68401,
to
LN10 = log(10),
And finally, change
RADIANS_TO_DEGREES = 57.29577_95130_82320_90712,
to
RADIANS_TO_DEGREES = 180 / PI,
It looks like this is related to the recent fenv / floating point changes, as I was able to get 64bit Linux/GNU to work with an unmodified std/mathcons.e by instead changing std/fenv.e to disable it (making sure that the C routine ids were always -1).