diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-11-29 14:59:46 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-11-29 22:34:58 +0100 |
commit | 1c0c417d2dd63110e4f6e6891f511cf0ae2c2cb5 (patch) | |
tree | 82095bc749aa61db0789e4051299ac05e09ea6af /doc | |
parent | 1cc8f3a63c4d229899720fbd552b3dd78346e198 (diff) | |
download | gnu-guix-1c0c417d2dd63110e4f6e6891f511cf0ae2c2cb5.tar gnu-guix-1c0c417d2dd63110e4f6e6891f511cf0ae2c2cb5.tar.gz |
doc: Improve porting instructions.
* doc/guix.texi (Porting): Move 'glibc-dynamic-linker' paragraph above.
Clarify what is meant by updating (gnu packages bootstrap). Mention
'gnu-system.am'.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 9aeec41f83..53bfb293b6 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5250,12 +5250,20 @@ one: guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs @end example +For this to work, the @code{glibc-dynamic-linker} procedure in +@code{(gnu packages bootstrap)} 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. + 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. +to be updated to refer to these binaries on the target platform. That +is, the hashes and URLs of the bootstrap tarballs for the new platform +must be added alongside those of the currently supported platforms. The +bootstrap Guile tarball is treated specially: it is expected to be +available locally, and @file{gnu-system.am} has rules do download it for +the supported architectures; a rule for the new platform must be added +as well. 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 |