64-bit Guile on Windows

2022-06-27 Thread Thomas Thiriez via General Guile related discussions
Hi, I am currently porting a macOS application to Windows, and need to have libguile working. I can see GnuCash works with Guile. I could borrow their libguile.dll, but it is a 32-bit build, and I am making a 64-bit application. I tried building Guile 3, but had more success with Guile 2.2,

Re: 64-bit Guile on Windows

2022-06-27 Thread Thomas Thiriez via General Guile related discussions
Jan Nieuwenhuizen writes: Thomas Thiriez via General Guile related discussions writes: Hello, I am currently porting a macOS application to Windows, and need to have libguile working. [..] I tried building Guile 3, but had more success with Guile 2.2, so I will keep that version

Re: 64-bit Guile on Windows

2022-06-28 Thread Thomas Thiriez via General Guile related discussions
Jean Abou Samra writes: Le 27/06/2022 à 15:56, Thomas Thiriez via General Guile related discussions a écrit : [...] (* 999 999 999) -> -76738825 [...] We had exactly the same problem at LilyPond, and this was the fix: https://gitlab.com/lilypond/lilypond/-/blob/master/rele

Re: 64-bit Guile on Windows

2022-06-28 Thread Thomas Thiriez via General Guile related discussions
Thomas Thiriez via General Guile related discussions writes: That doesn't work, so I compile test.scm to test.go with guile on my Mac. I have also tried compiling with this command on my Mac to generate bytecode for the right architecture, but the result is the same: guild co

Re: 64-bit Guile on Windows

2022-06-29 Thread Thomas Thiriez via General Guile related discussions
"Dr. Arne Babenhauserheide" writes: [...] Possibly fixnum-related, so maybe: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42060 Maybe 32-bit <-> 64-bit related, so maybe: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28920 Thanks a lot. I will check those out. Also, guile@2.2 is not d

Re: 64-bit Guile on Windows

2023-03-23 Thread Thomas Thiriez via General Guile related discussions
Hi Mike, I was able to build a 64-bit libguile 3 based on the branch wip-mingw. It appears to be working fine so far, and I am grateful for your work. The only glitch I have found is that (gettimeofday) does not return correct values. It should return a pair (seconds . microseconds). The se