Commit graph

8 commits

Author SHA1 Message Date
Carl Dong
f5d6c88d0f
gnu: mingw-w64: Add -winpthreads variants.
This recursive package definition really demonstrates how magical Guix
can be :-)

Try invoking:
    ./pre-inst-env guix build mingw-w64-{x86_64,i686}{,-winpthreads}

* gnu/packages/mingw.scm (make-mingw-w64): Add XGCC, XBINUTILS optional
arguments to specify using a non-default cross-compiler/binutils.  Add
WITH-WINPTHREADS? optional argument to allow building with winpthreads
support.  Adjust accordingly for the new arguments.
(mingw-w64-i686-winpthreads, mingw-w64-x86_64-winpthreads): Add
variables.
* gnu/packages/cross-base.scm (native-libc): Add XGCC, XBINUTILS
key arugments and pass to MAKE-MINGW-W64.
(cross-libc): Pass XGCC and XBINUTILS to NATIVE-LIBC.
2019-10-21 17:39:08 -04:00
David Thompson
07d7175406
gnu: mingw-w64: Update to 6.0.0.
* gnu/packages/mingw.scm (mingw-w64): Update to 6.0.0.
* gnu/packages/patches/mingw-w64-6.0.0-gcc.patch: New file.
* gnu/packages/patches/mingw-w64-5.0rc2-gcc-4.9.3.patch: Delete it.
* gnu/local.mk (dist_patch_DATA): Add new patch.  Delete old patch.
* gnu/build/cross-toolchain.scm (set-cross-path/mingw): Add additional
  autoconf-like substitutions.
2019-08-28 08:47:14 -04:00
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
Tobias Geerinckx-Rice
5c0f11c29c
gnu: mingw-w64: Update to 5.0.4.
* gnu/packages/mingw.scm (mingw-w64): Update to 5.0.4.
2018-08-09 02:17:25 +02:00
Tobias Geerinckx-Rice
5dacc645b8
gnu: mingw-w64: Update to 5.0.3.
* gnu/packages/mingw.scm (mingw-w64): Update to 5.0.3.
2018-03-12 04:57:52 +01:00
Tobias Geerinckx-Rice
8aaba50071
gnu: mingw-w64: Fix home page and avoid further confusion.
MinGW-w64 was forked (in rather dramatic fashion) from the original
MinGW.  The two projects remain distinct and MinGW-w64 seems by far the
actively developed of the two.

* gnu/packages/mingw.scm (mingw-w64)[home-page]: Point to the correct
upstream.  Use HTTPS.
[description]: Expand and briefly note the relationship between the
two projects.  Use @dfn.
2018-03-12 04:57:44 +01:00
Ricardo Wurmus
5a80c15c14
gnu: Remove "open source" from descriptions.
All software in Guix is Free Software.

* gnu/packages/aidc.scm (libdmtx)[description]: Remove "open source" string.
* gnu/packages/firmware.scm (seabios)[description]: Likewise.
* gnu/packages/libupnp.scm (libupnp)[description]: Likewise.
* gnu/packages/maths.scm (cubicle)[description]: Likewise.
* gnu/packages/mingw.scm (mingw-w64)[description]: Likewise.
* gnu/packages/game-development.scm (openmw)[description]: Likewise.
[synopsis]: Remove "Free software".
2017-11-08 16:21:53 +01:00
Jan Nieuwenhuizen
cf0ef075c4
gnu: Add mingw-w64.
* gnu/packages/patches/gcc-4.9.3-mingw-gthr-default.patch,
gnu/packages/patches/mingw-w64-5.0rc2-gcc-4.9.3.patch,
gnu/packages/mingw.scm: New files.
* gnu/local.mk (dist_patch_DATA): Add the patches.
(GNU_SYSTEM_MODULES): Add mingw.scm.
2016-12-07 10:23:16 +01:00