summary refs log tree commit diff
path: root/doc/cross-compilation.xml
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-11-06 20:54:06 +0000
committerOrivej Desh <orivej@gmx.fr>2017-11-09 12:57:21 +0000
commit467d22c15b58dfb66bcde681d299495eee43eb79 (patch)
tree59945f3e083ee97e37d0ef9a3704b6954318c5ee /doc/cross-compilation.xml
parentb20916bd987b310813f6f0140b347e0865b5cd72 (diff)
downloadnixlib-467d22c15b58dfb66bcde681d299495eee43eb79.tar
nixlib-467d22c15b58dfb66bcde681d299495eee43eb79.tar.gz
nixlib-467d22c15b58dfb66bcde681d299495eee43eb79.tar.bz2
nixlib-467d22c15b58dfb66bcde681d299495eee43eb79.tar.lz
nixlib-467d22c15b58dfb66bcde681d299495eee43eb79.tar.xz
nixlib-467d22c15b58dfb66bcde681d299495eee43eb79.tar.zst
nixlib-467d22c15b58dfb66bcde681d299495eee43eb79.zip
documentation: fix typos
Diffstat (limited to 'doc/cross-compilation.xml')
-rw-r--r--doc/cross-compilation.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cross-compilation.xml b/doc/cross-compilation.xml
index fd98d712beca..73ecf6cc9e43 100644
--- a/doc/cross-compilation.xml
+++ b/doc/cross-compilation.xml
@@ -30,7 +30,7 @@
   <section>
     <title>Platform parameters</title>
     <para>
-      Nixpkgs follows the the <link xlink:href="https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html">common historical convention of GNU autoconf</link> of distinguishing between 3 types of platform: <wordasword>build</wordasword>, <wordasword>host</wordasword>, and <wordasword>target</wordasword>.
+      Nixpkgs follows the <link xlink:href="https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html">common historical convention of GNU autoconf</link> of distinguishing between 3 types of platform: <wordasword>build</wordasword>, <wordasword>host</wordasword>, and <wordasword>target</wordasword>.
 
       In summary, <wordasword>build</wordasword> is the platform on which a package is being built, <wordasword>host</wordasword> is the platform on which it is to run. The third attribute, <wordasword>target</wordasword>, is relevant only for certain specific compilers and build tools.
     </para>
@@ -65,7 +65,7 @@
             It can be safely ignored for all other packages.
           </para>
           <para>
-            The build process of certain compilers is written in such a way such that the compiler resulting from a single build can itself only produce binaries for a single platform.
+            The build process of certain compilers is written in such a way that the compiler resulting from a single build can itself only produce binaries for a single platform.
             The task specifying this single "target platform" is thus pushed to build time of the compiler.
             The root cause of this mistake is often that the compiler (which will be run on the host) and the the standard library/runtime (which will be run on the target) are built by a single build process.
           </para>