* DXVK 1.5: Need to use the mingw compiler, anyone?
@ 2019-12-19 13:12 Pierre Neidhardt
2020-05-15 9:29 ` Pierre Neidhardt
0 siblings, 1 reply; 2+ messages in thread
From: Pierre Neidhardt @ 2019-12-19 13:12 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
Hi!
I'm trying to update DXVK to 1.5 which seems to require mingw.
See the discussion https://github.com/doitsujin/dxvk/issues/1292.
I know a few people have discussed issues with mingw in the past on the
mailing list, but I haven't been able to figure it out. In particular,
the mingw-w64 package does not contain any binary. Do we actually have
a mingw compiler in Guix?
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DXVK 1.5: Need to use the mingw compiler, anyone?
2019-12-19 13:12 DXVK 1.5: Need to use the mingw compiler, anyone? Pierre Neidhardt
@ 2020-05-15 9:29 ` Pierre Neidhardt
0 siblings, 0 replies; 2+ messages in thread
From: Pierre Neidhardt @ 2020-05-15 9:29 UTC (permalink / raw)
To: guix-devel; +Cc: Mathieu Othacehe, Carl Dong
[-- Attachment #1: Type: text/plain, Size: 2650 bytes --]
DXVK 1.6 does not seem to build with Winelib anymore and upstream has
deprecated Winelib for a while.
I'm trying to compile dxvk with mingw instead.
How do I use mingw to build a package (dxvk uses meson)?
Can I use the #:system argument? Otherwise I could add mingw as input
like this:
--8<---------------cut here---------------start------------->8---
(make-mingw-w64 "x86_64"
#:xgcc (cross-gcc "x86_64-linux-gnu")
#:xbinutils (cross-binutils "x86_64-linux-gnu")
#:with-winpthreads? #t)
--8<---------------cut here---------------end--------------->8---
or, for the 32-bit build (dxvk needs both)
--8<---------------cut here---------------start------------->8---
(make-mingw-w64 "i686"
#:xgcc (cross-gcc "i686-linux-gnu")
#:xbinutils (cross-binutils "i686-linux-gnu")
#:with-winpthreads? #t)
--8<---------------cut here---------------end--------------->8---
I can't seem to be able to build the mingw compiler though.
The following fails on master
--8<---------------cut here---------------start------------->8---
./guix/pre-inst-env guix build -e '((@@ (gnu packages mingw) make-mingw-w64) "i686" #:xgcc ((@@ (gnu packages cross-base) cross-gcc) "i686-linux-gnu") #:xbinutils ((@@ (gnu packages cross-base) cross-binutils) "i686-linux-gnu") #:with-winpthreads? #t)'
--8<---------------cut here---------------end--------------->8---
with
--8<---------------cut here---------------start------------->8---
checking how to run the C preprocessor... /gnu/store/0qqmpdm7v8jigvvv5i05ihdz2jlbmjmf-gcc-cross-sans-libc-i686-linux-gnu-7.5.0/bin/i686-w64-mingw32-cpp
configure: error: in `/tmp/guix-build-mingw-w64-i686-7.0.0.drv-0/mingw-w64-v7.0.0/mingw-w64-crt':
configure: error: C preprocessor "/gnu/store/0qqmpdm7v8jigvvv5i05ihdz2jlbmjmf-gcc-cross-sans-libc-i686-linux-gnu-7.5.0/bin/i686-w64-mingw32-cpp" fails sanity check
See `config.log' for more details
configure: error: ./configure failed for mingw-w64-crt
command "/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash" "./configure" "CONFIG_SHELL=/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash" "SHELL=/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash" "--prefix=/gnu/store/x7pl1lh5x81s047bgp3j00dp2qrqkviv-mingw-w64-i686-7.0.0" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=i686-w64-mingw32" failed with status 1
builder for `/gnu/store/i5i6zq8b6knrr96l554d8lw2pd2mbii6-mingw-w64-i686-7.0.0.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---
Any idea?
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-15 9:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-19 13:12 DXVK 1.5: Need to use the mingw compiler, anyone? Pierre Neidhardt
2020-05-15 9:29 ` Pierre Neidhardt
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).