l...@gnu.org (Ludovic Courtès) skribis:

> Anyway, our first target will be mips64el-linux-gnu/N64 so that’s 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 
GNU/Linux
ludo@gcc49:~/t2/bin$ file uname
uname: ELF 64-bit LSB executable, MIPS, MIPS-III version 1 (SYSV), statically 
linked, for GNU/Linux 2.6.30, with unknown capability 0x756e670000000f41 = 
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’s just a matter of adding them in the right place in
bootstrap.scm, as Nikita did in the mips64el branch, and voilà!

Ludo’.

[0] https://lists.gnu.org/archive/html/bug-guix/2013-03/msg00010.html

Reply via email to