From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: rfc/rfh: i686-w64-mingw32 cross target Date: Thu, 31 Mar 2016 22:16:44 +0200 Message-ID: <877fgio11v.fsf@elephly.net> References: <87vb492l7s.fsf@drakenvlieg.flower> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alj1V-0001UC-FK for guix-devel@gnu.org; Thu, 31 Mar 2016 16:16:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alj1U-0008G2-IB for guix-devel@gnu.org; Thu, 31 Mar 2016 16:16:57 -0400 In-reply-to: <87vb492l7s.fsf@drakenvlieg.flower> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Jan Nieuwenhuizen Cc: guix-devel@gnu.org Jan Nieuwenhuizen writes: > I'm working on a cross target in an effort to get rid of GUB 1) in > favour of Guix and could do with some help. > > I have just succeeded in cross-building hello and running it, > doing > > 18:18:36 janneke@drakenvlieg:~/src/mingw-guix > $ ./pre-inst-env guix build --keep-failed --target=i686-w64-mingw32 hello > /gnu/store/6556syz1732jnffnp0njikr5g6diqvch-hello-2.10 > 18:18:36 janneke@drakenvlieg:~/src/mingw-guix > $ /gnu/store/5y252qkblhpj639g3bnrc671mz8x920w-profile/bin/wine /gnu/store/6556syz1732jnffnp0njikr5g6diqvch-hello-2.10/bin/hello.exe > Hello, world! > 18:18:39 janneke@drakenvlieg:~/src/mingw-guix That’s very cool! > See https://github.com/janneke/guix/tree/wip-mingw32 or attached patch. > This platform does not have glibc, it uses --with-newlib and I'm not > sure how to fit that in. I have also been working on a cross-compiler using newlib: http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00106.html I’m not sure it’s fully working as I only have one board to test it. Maybe there’s something in there you find useful? ~~ Ricardo