From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Cross bootstrap! Date: Wed, 26 Jun 2013 23:13:40 +0200 Message-ID: <87ppv88tiz.fsf@gnu.org> References: <87txkkanu6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urx71-0003Tu-1Y for bug-guix@gnu.org; Wed, 26 Jun 2013 17:18:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Urx6x-0004bl-GA for bug-guix@gnu.org; Wed, 26 Jun 2013 17:18:46 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:33859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urx6x-0004bC-8m for bug-guix@gnu.org; Wed, 26 Jun 2013 17:18:43 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2AF0DE3D for ; Wed, 26 Jun 2013 23:13:41 +0200 (CEST) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fFa63SMe0og4 for ; Wed, 26 Jun 2013 23:13:41 +0200 (CEST) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B43BC901 for ; Wed, 26 Jun 2013 23:13:40 +0200 (CEST) In-Reply-To: <87txkkanu6.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 26 Jun 2013 17:33:37 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Anyway, our first target will be mips64el-linux-gnu/N64 so that=E2=80=99s= what > we should focus on now. Well, building on what Nikita and Andreas had tried [0], that turned out to be disappointingly easy. :-) So commit beda99e adds the N64 cross tool chain. I was able to build the static binaries tarball (Coreutils, gawk, etc.), and it seems to work as expected (tested on gcc49 of the GCC Compile Farm): --8<---------------cut here---------------start------------->8--- ludo@gcc49:~/t2/bin$ ./uname -a Linux gcc49 2.6.36.3+ #1 SMP PREEMPT Mon Dec 19 19:38:39 CET 2011 mips64 GN= U/Linux ludo@gcc49:~/t2/bin$ file uname uname: ELF 64-bit LSB executable, MIPS, MIPS-III version 1 (SYSV), statical= ly linked, for GNU/Linux 2.6.30, with unknown capability 0x756e670000000f41= =3D 0x104000000070100, stripped --8<---------------cut here---------------end--------------->8--- Hydra is now building it, so you MIPS people ;-) can (within a few hours) go ahead and run the following from an x86_64-linux machine: guix build bootstrap-tarballs If everything goes well, that will download (using the substituter) the 5 tarballs, you can then be copied to a MIPS machine, unpacked, and run (or debugged). Then it=E2=80=99s just a matter of adding them in the right place in bootstrap.scm, as Nikita did in the mips64el branch, and voil=C3=A0! Ludo=E2=80=99. [0] https://lists.gnu.org/archive/html/bug-guix/2013-03/msg00010.html