Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target.

2016-05-19 Thread Jan Nieuwenhuizen
64"))) > ((mingw-dir) >(string-append (getcwd) "/" mingw-dir "/mingw-w64-headers" That works quite nicely. Changed to use it. > You'll need to add (ice-9 match) and (ice-9 ftw) to #:modules, and you'd > have to invoke this function af

Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target.

2016-05-18 Thread Andy Wingo
On Wed 18 May 2016 00:30, Jan Nieuwenhuizen writes: > Yay...looks like we're almost there! Yeah almost! Just two (?) more nits -- I seem to keep finding these. Sorry about that. > @@ -19,12 +19,17 @@ > ;;; along with GNU Guix. If not, see . > > (define-module

Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target.

2016-05-17 Thread Jan Nieuwenhuizen
ere! Greetings, Jan >From e0eb42bbc849e68fcd79a50c2fc5dffceed4e5c5 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 3 May 2016 20:08:40 +0200 Subject: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target. * guix/utils.scm (mingw-target?): New function. * gnu/packages/

Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target.

2016-05-17 Thread Andy Wingo
On Sat 14 May 2016 22:27, Jan Nieuwenhuizen writes: > Andy Wingo writes: > > Something I wanted to ask and I guess now why don't we let functions > like pair?, null?, string-prefix? not return the thing itself? So many possible answers, none of them great ;) For example, why have #t as a value a

Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target.

2016-05-14 Thread Jan Nieuwenhuizen
w-target? target) mingw-w64 glibc)) (define (cross-newlib? target) (not (eq? (native-libc target) glibc))) I have adopted the meme in my own code to have any function? always return the thing itself; that's also always true (as long as you don't do things

Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target.

2016-05-09 Thread Andy Wingo
On Sun 08 May 2016 22:42, Jan Nieuwenhuizen writes: > * guix/utils.scm (mingw-target?): New function. > * gnu/packages/cross-base.scm (cross-gcc-snippet): New function for mingw. > (cross-gcc): Use it. > (cross-gcc-arguments, cross-gcc-patches, cross-gcc): Support mingw. > (native-libc, cross-new

[PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target.

2016-05-08 Thread Jan Nieuwenhuizen
* guix/utils.scm (mingw-target?): New function. * gnu/packages/cross-base.scm (cross-gcc-snippet): New function for mingw. (cross-gcc): Use it. (cross-gcc-arguments, cross-gcc-patches, cross-gcc): Support mingw. (native-libc, cross-newlib?): New functions. (cross-libc): Use cross-newlib? to support