guix/gnu/build
Carl Dong 67dac6b892
gnu: mingw: Add x86_64 support.
This patch parameterizes previously hard-coded instances of
i686-w64-mingw32, adding support for x86_64-w64-mingw32.

* gnu/packages/mingw.scm (make-mingw-w64): New procedure.
(mingw-w64-i686, mingw-w64-x86_64): New variables.
(%mingw-triplet): Remove.
(mingw-w64): Update to point to 'mingw-w64-i686'.
* gnu/packages/cross-base.scm (cross-gcc): Use 'libc' keyword argument
if specified, instead of treating it as a boolean.
(native-libc): Return the correct mingw-w64 depending on machine
specified in target.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add "x86_64-mingw".
* gnu/build/cross-toolchain.scm (set-cross-path/mingw): Replace
hardcoded 'i686-w64-mingw32' instances with 'target' keyword argument.
(cross-gcc-build-phases): Update accordingly; use 'target-mingw?'
implementation of target checking and add commentary.
* gnu/ci.scm (%cross-targets): Add "x86_64-w64-mingw32".
2019-08-14 21:29:53 +02:00
..
accounts.scm accounts: Use 'fsync' instead of 'fdatasync'. 2019-06-27 11:14:40 +02:00
activation.scm
bootloader.scm
cross-toolchain.scm gnu: mingw: Add x86_64 support. 2019-08-14 21:29:53 +02:00
file-systems.scm
install.scm
linux-boot.scm
linux-container.scm linux-container: Mount a new /dev/pts instance in the container. 2019-07-06 00:26:58 +02:00
linux-initrd.scm
linux-modules.scm
locale.scm
marionette.scm
shepherd.scm
svg.scm
vm.scm