Hi,
I found same code if I using x86_64-w64-mingw32-g++.exe to compile and test, it
works, not crash, but using vc 2017 (x64) instead of
x86_64-w64-mingw32-g++.exe, it will crash like below.
Using vc2017 (x86) to link a dll generated by i686-w64-mingw32-gcc.exe, it
works. I'm confused. Is it a problem of calling convention ?
在 2020-01-08 15:30:55,"sineysan" <sineysan@xxxxxxx> 写道:
I use mingw-64 cross compile for window10, if I you i686 arch of mingw to
compile quickjs to genereate dll named libquickjs.dll, it works.
But if I use x86-64 arch , same test code will crash, see blow image,
it will crash on JS_Eval function , but first 2 functions call is ok, does
quickjs support x64 arch or not?