unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* Initial cross-compilation support
@ 2013-02-27 20:05 Ludovic Courtès
  2013-03-03 16:26 ` Andreas Enge
  2013-05-24 22:04 ` Ludovic Courtès
  0 siblings, 2 replies; 27+ messages in thread
From: Ludovic Courtès @ 2013-02-27 20:05 UTC (permalink / raw)
  To: bug-guix

Hello!

Commit 827d289 of the ‘core-updates’ branch adds cross-base.scm, which
builds a cross tool chain.

So if you type ‘guix build gcc-cross-mips64el-linux-gnu’, you get a
cross-compiler (+ libc, binutils) for that platform.  The compiler is
slightly modified by this patch:

  http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/patches/gcc-cross-environment-variables.patch?h=core-updates&id=827d28914a16ef2d10ebdad4695efdb02ace07fb

The end goal is to be able to run:

  guix build --target=mips64el-linux-gnu coreutils

and get a cross-built Coreutils.

What remains to be done is to implement ‘package-cross-derivation’ in
(guix packages), and to adjust build-system/gnu to support cross builds.

If someone volunteers, that’s always appreciated ;-), otherwise I’ll
check what I can do later on.

Ludo’.

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2013-05-27 21:49 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27 20:05 Initial cross-compilation support Ludovic Courtès
2013-03-03 16:26 ` Andreas Enge
2013-03-03 21:32   ` Ludovic Courtès
2013-03-28  9:35     ` Nikita Karetnikov
2013-03-28 13:38       ` Ludovic Courtès
2013-03-28 21:00         ` Nikita Karetnikov
2013-03-28 22:41           ` Ludovic Courtès
2013-03-29  1:49             ` Nikita Karetnikov
2013-03-29  9:46               ` Ludovic Courtès
2013-03-29 21:20                 ` Nikita Karetnikov
2013-03-29 21:39                   ` Ludovic Courtès
2013-03-29 22:06                     ` Nikita Karetnikov
2013-05-20 19:40                       ` Ludovic Courtès
2013-05-21 18:46                         ` Nikita Karetnikov
2013-05-21 20:04                           ` Ludovic Courtès
2013-05-21 20:23                             ` Nikita Karetnikov
2013-05-21 20:54                               ` Nikita Karetnikov
2013-05-21 21:00                               ` Ludovic Courtès
2013-03-04  0:19   ` Nikita Karetnikov
2013-03-04 10:10     ` Ludovic Courtès
2013-03-04 16:56       ` Nikita Karetnikov
2013-03-09  9:56         ` Nikita Karetnikov
2013-05-24 21:30           ` Ludovic Courtès
2013-05-24 21:59             ` Nikita Karetnikov
2013-05-24 22:26               ` Ludovic Courtès
2013-05-27 21:49                 ` Ludovic Courtès
2013-05-24 22:04 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).