#1 Yesterday 13:29:13

ComingNine
Member
Registered: 2010-07-29
Posts: 299

03 - HelloSpiderMonkey52 does not work for FPC & win32

The SyNode sample "03-HelloSpiderMonkey52-cross" works for both `Delphi & win32` and `FPC & Linux64`.
However, the same sample does not work for `FPC & win32` (compiled on windows, or cross-compiled from linux).
The same synsm.dll used for `Delphi & win32` is used.
The error is access violation at `InitSelfHostedCode`.
For some compiling occasions, the error is `Invalid floating point operation` instead.
As shown by the figures, the operations for `Delphi & win32` and  `FPC & win32` seem to be identical.
I could not figure out the cause or the workaround.
Could you help to suggest what could be the cause and how to fix ? Many thanks !

jCJmDaN.png

SCtHFUg.png

Offline

Board footer

Powered by FluxBB