|
From: | Alex Kost |
Subject: | Re: [PATCH 02/12] gnu: Add mingw-w64. |
Date: | Thu, 18 Aug 2016 10:42:56 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Jan Nieuwenhuizen (2016-08-18 09:08 +0300) wrote: [...] > + (arguments > + `(#:configure-flags '("--host=i686-w64-mingw32") > + #:phases > + (modify-phases %standard-phases > + (add-before > + 'configure 'setenv it's more good-looking if this line is moved to the previous one :-) (add-before 'configure 'setenv > + (lambda* (#:key inputs #:allow-other-keys) > + (let ((xgcc-core (assoc-ref inputs "xgcc-core")) > + (mingw-headers (string-append (getcwd) > "/mingw-w64-headers"))) > + (setenv "CPP" > + (string-append xgcc-core "/bin/i686-w64-mingw32-cpp")) > + (setenv "CROSS_C_INCLUDE_PATH" > + (string-append > + mingw-headers > + ":" mingw-headers "/include" > + ":" mingw-headers "/crt" > + ":" mingw-headers "/defaults/include" > + ":" mingw-headers "/direct-x/include")))))) -- Alex
[Prev in Thread] | Current Thread | [Next in Thread] |