From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Re: [PATCH 04/10] gnu: cross-build: i686-w64-mingw32: new cross target. Date: Mon, 02 May 2016 10:06:09 +0200 Message-ID: <87vb2wnatq.fsf@igalia.com> References: <1461942751-23883-1-git-send-email-janneke@gnu.org> <1461942751-23883-4-git-send-email-janneke@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ax8sI-0007qL-29 for guix-devel@gnu.org; Mon, 02 May 2016 04:06:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ax8s6-0001zg-FS for guix-devel@gnu.org; Mon, 02 May 2016 04:06:32 -0400 In-Reply-To: <1461942751-23883-4-git-send-email-janneke@gnu.org> (Jan Nieuwenhuizen's message of "Fri, 29 Apr 2016 17:12:25 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Jan Nieuwenhuizen Cc: guix-devel@gnu.org On Fri 29 Apr 2016 17:12, Jan Nieuwenhuizen writes: > @@ -288,7 +379,11 @@ GCC that does not target a libc; otherwise, target that libc." > (xbinutils (cross-binutils target))) > "Return a libc cross-built for TARGET, a GNU triplet. Use XGCC and > XBINUTILS and the cross tool chain." > - (define xlinux-headers > + (cond > + ((cross-newlib? target) > + (cross-newlib? target)) > + (else > + (let ((xlinux-headers > (package (inherit linux-libre-headers) > (name (string-append (package-name linux-libre-headers) > "-cross-" target)) This hunk looks borked. Resend please :) A