unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Guile 2.2 on MSYS2 + MinGW
@ 2018-01-16 22:50 Matthew Keeter
  2018-01-17 15:54 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Matthew Keeter @ 2018-01-16 22:50 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]

I’m dipping my toe into the tarpit of making a native Windows build for Guile 2.2,
using msys2 (http://www.msys2.org/ <http://www.msys2.org/>).  My efforts are here:
    https://github.com/mkeeter/guile-mingw <https://github.com/mkeeter/guile-mingw>https://github <https://github/>.com/mkeeter/guile-mingw

So far, I’ve adapted or created a handful of patches, and have successfully
built guile.exe.  The build is failing after this point, when it tries to build the
documentation (?):

make[3]: Entering directory '/home/mkeeter/guile/src/build-x86_64-w64-mingw32/libguile'
  GEN      guile-procedures.texi
Backtrace:
           0 (primitive-load-path "C:/msys64/home/mkeeter/guile/src/▒")

ERROR: In procedure primitive-load-path:
ERROR: In procedure primitive-load-path: Unable to find file "C:/msys64/home/mkeeter/guile/src/build-x86_64-w64-mingw32/libguile/C:/msys64/home/mkeeter/guile/src/build-x86_64-w64-mingw32/meta/guild" in load path

Does anyone have tips for why primitive-load-path would be failing like this?

Thanks,
Matt

p.s.  I’d prefer to focus on one issue at a time, but in case you’re wondering, the guile.exe
that it has built is… eccentric.  To get anywhere, I have to run it with auto-compilation turned off,
and even then, it’s non-functional:

mkeeter@MATTHEWKEETA8AA MINGW64 ~/guile/src/build-x86_64-w64-mingw32
$ GUILE_AUTO_COMPILE=0 ./meta/build-env guile
GNU Guile 2.2.0
Copyright (C) 1995-2017 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (+ 1 2)
While compiling expression:
ERROR: In procedure bytevector-u64-set!: Value out of range: -149659645

[-- Attachment #2: Type: text/html, Size: 5438 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-01-25 17:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-16 22:50 Guile 2.2 on MSYS2 + MinGW Matthew Keeter
2018-01-17 15:54 ` Eli Zaretskii
2018-01-17 22:30   ` Matthew Keeter
2018-01-18 14:09     ` Eli Zaretskii
2018-01-18 15:18       ` Matthew Keeter
2018-01-18 16:00         ` Eli Zaretskii
2018-01-24  2:18           ` Matthew Keeter
2018-01-24 18:57             ` Eli Zaretskii
2018-01-25 14:54               ` Matthew Keeter
2018-01-25 17:22                 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).