diff options
Diffstat (limited to 'documentation/sdk-manual/sdk-intro.xml')
-rw-r--r-- | documentation/sdk-manual/sdk-intro.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/documentation/sdk-manual/sdk-intro.xml b/documentation/sdk-manual/sdk-intro.xml index 36d946459d..d71aafeba1 100644 --- a/documentation/sdk-manual/sdk-intro.xml +++ b/documentation/sdk-manual/sdk-intro.xml | |||
@@ -46,6 +46,34 @@ | |||
46 | </para> | 46 | </para> |
47 | 47 | ||
48 | <para> | 48 | <para> |
49 | SDKs are completely self-contained. | ||
50 | The binaries are linked against their own copy of | ||
51 | <filename>libc</filename>, which results in no dependencies | ||
52 | on the target system. | ||
53 | To achieve this, the pointer to the dynamic loader is | ||
54 | configured at install time since that path cannot be dynamically | ||
55 | altered. | ||
56 | This is the reason for a wrapper around the | ||
57 | <filename>populate_sdk</filename> and | ||
58 | <filename>populate_sdk_ext</filename> archives. | ||
59 | </para> | ||
60 | |||
61 | <para> | ||
62 | Another feature for the SDKs is that only one set of cross-canadian | ||
63 | toolchain binaries are produced per architecture. | ||
64 | This feature takes advantage of the fact that the target hardware can | ||
65 | be passed to <filename>gcc</filename> as a set of compiler options. | ||
66 | Those options are set up by the environment script and contained in | ||
67 | variables such as | ||
68 | <ulink url='&YOCTO_DOCS_REF_URL;#var-CC'><filename>CC</filename></ulink> | ||
69 | and | ||
70 | <ulink url='&YOCTO_DOCS_REF_URL;#var-LD'><filename>LD</filename></ulink>. | ||
71 | This reduces the space needed for the tools. | ||
72 | Understand, however, that a sysroot is still needed for every target | ||
73 | since those binaries are target-specific. | ||
74 | </para> | ||
75 | |||
76 | <para> | ||
49 | Going beyond the actual SDK, the SDK development environment consists | 77 | Going beyond the actual SDK, the SDK development environment consists |
50 | of the following: | 78 | of the following: |
51 | <itemizedlist> | 79 | <itemizedlist> |