On 6/18/22 11:35, Qian Yun wrote:
So, in "msys2 shell", we can build sman successfully.
But when building algebra, SBCL encounters strange memory
fault, which I'll look into later. And right now, sman
from msys2 shell does not mix well with FriCASsys from
mingw64 shell.
The memory fault happens if FriCASsys loads "libspad.so".
Probably the same thing for cygwin.
Obviously FFI works for SBCL on Windows. Now I need to
find out where went wrong in our build process.
FFI works for SBCL on Windows, I have made GMP support work
on Windows.
The problem is sbcl will seg fault shortly after it
"load-foreign-object" with anything that links to "mys-2.0.dll".
Summary: MingW64 toolchain allows you to build native win32
programs. Msys2 provides a minimal POSIX environment to assist
you to do that.
sman is inherent POSIX and not win32. So it is a dead end
to try to build sman on mingw64/msys2.
But I am satisfied with current win32 native "FriCASsys.exe".
SBCL on cygwin will probably meet same problem when it
tries to load cygwin dll. So I'm not going to try this
path and stick to "sbcl+mingw64 native win32 build".
- Qian
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/e3aff840-cd87-de38-1d0a-6102dc80a2a5%40gmail.com.