Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Is it possible to compile singular with msys2/mingw-w64?
PostPosted: Mon Apr 19, 2021 4:30 am 
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.


Report this post
Top
  
Reply with quote  
 Post subject: Re: Is it possible to compile singular with msys2/mingw-w64?
PostPosted: Mon Apr 19, 2021 3:03 pm 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
No, that is an important requirement:
at too many place long is used for address computations and
store for pointer.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 10:54 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group