Singular
https://www.singular.uni-kl.de/forum/

Is it possible to compile singular with msys2/mingw-w64?
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2946
Page 1 of 1

Author:  NotaProgrammer [ Mon Apr 19, 2021 4:30 am ]
Post subject:  Is it possible to compile singular with msys2/mingw-w64?

Since I do not have cgwin installed but I do have msys2/mingw-w64 installed, I would like to know if it is theoretically possible to compile singular with msys2/mingw-w64.

I have successfully compiled all required libraries but when I tried to compile Singular following "github.com/Singular/Singular/wiki/Installation-from-GitHub-on-Cygwin64" I got the error "need equal sizes for long and void*" from omalloc. I believe the error was thrown by "github.com/Singular/Singular/blob/spielwiese/omalloc/configure.ac#L176"). Indeed, in my system WIN-10-64bits, the result for "sizeof(long)" is 4 bytes and for "sizeof(void*)" is 8 bytes.

Is there an easy fix for that error or the easiest solution is just installing cgwin and compiling Singular with it?

Thanks in advance.

Author:  hannes [ Mon Apr 19, 2021 3:03 pm ]
Post subject:  Re: Is it possible to compile singular with msys2/mingw-w64?

No, that is an important requirement:
at too many place long is used for address computations and
store for pointer.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/