guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wip-mingw with x86_64 support updated for 3.0.8


From: Jan Nieuwenhuizen
Subject: Re: wip-mingw with x86_64 support updated for 3.0.8
Date: Mon, 16 May 2022 20:28:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Jan Nieuwenhuizen writes:

Hello again,

> I've reset and updated wip-mingw onto latest main:
>
>     https://git.savannah.gnu.org/cgit/guile.git/log/?h=wip-mingw

If you tried this with a recent Guix, you probably got a segfault.  I
finally found that compiling with -flto (--enable-lto) creates broken
DLLs with binutils > 2.35.2.  This is "fixed" by using --disable-lto
when compiling for mingw.

So, also with a recent Guix, this should work:

WINEPATH=$(guix shell wine64 -- winepath -w                                    \
   $(echo $(guix gc -R                                                         \
                 $(GUIX_PACKAGE_PATH=guix guix build                           \
                                    --target=x86_64-w64-mingw32 guile-mingw))) \
              | sed 's,$,/bin,g' | tr '\n' ';')                                \
       guix shell wine64 -- wine                                               \
       $(GUIX_PACKAGE_PATH=guix guix build --target=x86_64-w64-mingw32         \
                          guile-mingw)/bin/guile.exe                           \
       -c '(format #t "Hello ~a world!\n" %host-type)'

Greetings,
Janneke

-- 
Jan Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://lilypond.org
Freelance IT https://JoyOfSource.com | AvatarĀ® https://AvatarAcademy.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]