aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-10-28 22:59:57 +0100
committerLudovic Courtès <ludo@gnu.org>2013-10-29 00:08:44 +0100
commit72e25e35a53e2833ac1d1d9c312d36ed78b239d6 (patch)
tree316942a00ae9cbc6f640a6e1088f47bb048520c6
parent011b18c33298a71c6b29fe5bc6ec101fc512c6d8 (diff)
downloadpatches-72e25e35a53e2833ac1d1d9c312d36ed78b239d6.tar
patches-72e25e35a53e2833ac1d1d9c312d36ed78b239d6.tar.gz
doc: Augment the "Porting" section.
Reported by Andreas Enge <andreas@enge.fr>. * doc/guix.texi (Porting): Document needed changes to (gnu packages bootstrap) and (gnu packages linux).
-rw-r--r--doc/guix.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 5d92ed5255..054d0af467 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2086,6 +2086,13 @@ one:
guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs
@end example
+Once these are built, the @code{(gnu packages bootstrap)} module needs
+to be updated to refer to these binaries on the target platform. In
+addition, the @code{glibc-dynamic-linker} procedure in that module must
+be augmented to return the right file name for libc's dynamic linker on
+that platform; likewise, @code{system->linux-architecture} in @code{(gnu
+packages linux)} must be taught about the new platform.
+
In practice, there may be some complications. First, it may be that the
extended GNU triplet that specifies an ABI (like the @code{eabi} suffix
above) is not recognized by all the GNU tools. Typically, glibc