summaryrefslogtreecommitdiff
path: root/doc/HOWTO-crosscompile
diff options
context:
space:
mode:
authorgdt <gdt>2011-11-19 17:59:47 +0000
committergdt <gdt>2011-11-19 17:59:47 +0000
commit8a63cde83a9df3853932a2eba58d9c67e771cfd2 (patch)
tree70ef37fcd671bc9b32dce73694a7f1ca0a6dfc33 /doc/HOWTO-crosscompile
parent1ccc0672f301403b24bbb10fb7a8d49d78ad0e61 (diff)
downloadpkgsrc-8a63cde83a9df3853932a2eba58d9c67e771cfd2.tar.gz
Clarify cross build/target terminology.
(Use "build" and "target", not autoconf's 3-tuple.)
Diffstat (limited to 'doc/HOWTO-crosscompile')
-rw-r--r--doc/HOWTO-crosscompile20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/HOWTO-crosscompile b/doc/HOWTO-crosscompile
index 6685327b324..db79ea60d5b 100644
--- a/doc/HOWTO-crosscompile
+++ b/doc/HOWTO-crosscompile
@@ -9,6 +9,26 @@ tree and NetBSD's pkgsrc packages using `pkgsrc/devel/distcc'
Note that this current setup is not intended for build builds as it might
confuse the buildbuild system.
+Terminology:
+------------
+
+There are multiple terminologies in use for cross building. In pkgsrc, we use
+
+ build platform: the system on which you are doing the compilation of packages
+
+ target platform: the system on which you will run the packages
+
+(An alternative terminology is that used by autoconf:
+
+ build: as above
+ host: as "target", above
+ target: the architecture that the cross-built compiler produces code for
+
+pkgsrc chooses the more simple build/target terms because the Canadian
+Cross situation is not common in pkgsrc. Partially because of the
+potential for confusion with autoconf's terminology, we avoid the word
+"host".
+
Target machine setup:
---------------------
1) install `pkgsrc/devel/distcc' package.