]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - doc/html/user-guide/ecos-packages.html
c2b8e8abb5258d702d29c57d909ff947bd97da4a
[karo-tx-redboot.git] / doc / html / user-guide / ecos-packages.html
1 <!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2 <!-- This material may be distributed only subject to the terms      -->
3 <!-- and conditions set forth in the Open Publication License, v1.0  -->
4 <!-- or later (the latest version is presently available at          -->
5 <!-- http://www.opencontent.org/openpub/).                           -->
6 <!-- Distribution of the work or derivative of the work in any       -->
7 <!-- standard (paper) book form is prohibited unless prior           -->
8 <!-- permission is obtained from the copyright holder.               -->
9 <HTML
10 ><HEAD
11 ><TITLE
12 >Packages</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
14 <META
15 NAME="GENERATOR"
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17 "><LINK
18 REL="HOME"
19 TITLE="eCos User Guide"
20 HREF="ecos-user-guide.html"><LINK
21 REL="UP"
22 TITLE="Manual Configuration"
23 HREF="manual-configuration.html"><LINK
24 REL="PREVIOUS"
25 TITLE="Building the System"
26 HREF="building-the-system.html"><LINK
27 REL="NEXT"
28 TITLE="Coarse-grained Configuration"
29 HREF="coarse-grained-configuration.html"></HEAD
30 ><BODY
31 CLASS="SECT1"
32 BGCOLOR="#FFFFFF"
33 TEXT="#000000"
34 LINK="#0000FF"
35 VLINK="#840084"
36 ALINK="#0000FF"
37 ><DIV
38 CLASS="NAVHEADER"
39 ><TABLE
40 SUMMARY="Header navigation table"
41 WIDTH="100%"
42 BORDER="0"
43 CELLPADDING="0"
44 CELLSPACING="0"
45 ><TR
46 ><TH
47 COLSPAN="3"
48 ALIGN="center"
49 >eCos User Guide</TH
50 ></TR
51 ><TR
52 ><TD
53 WIDTH="10%"
54 ALIGN="left"
55 VALIGN="bottom"
56 ><A
57 HREF="building-the-system.html"
58 ACCESSKEY="P"
59 >Prev</A
60 ></TD
61 ><TD
62 WIDTH="80%"
63 ALIGN="center"
64 VALIGN="bottom"
65 >Chapter 28. Manual Configuration</TD
66 ><TD
67 WIDTH="10%"
68 ALIGN="right"
69 VALIGN="bottom"
70 ><A
71 HREF="coarse-grained-configuration.html"
72 ACCESSKEY="N"
73 >Next</A
74 ></TD
75 ></TR
76 ></TABLE
77 ><HR
78 ALIGN="LEFT"
79 WIDTH="100%"></DIV
80 ><DIV
81 CLASS="SECT1"
82 ><H1
83 CLASS="SECT1"
84 ><A
85 NAME="ECOS-PACKAGES">Packages</H1
86 ><P
87 ><SPAN
88 CLASS="PRODUCTNAME"
89 >eCos</SPAN
90 > is a component architecture. The system comes as a
91           number of packages which can be
92           enabled or disabled as required, and new packages can be
93           added as they become available. Unfortunately, the packages
94           are not completely independent: for example the &micro;ITRON
95           compatibility package relies almost entirely on
96           functionality provided by the kernel package, and it would
97           not make sense to try to build &micro;ITRON if the kernel
98           was disabled. The C library has fewer dependencies: some
99           parts of the C library rely on kernel functionality, but it
100           is possible to disable these parts and thus build a system
101           that has the C library but no kernel. The
102         <B
103 CLASS="COMMAND"
104 >ecosconfig</B
105 > tool has the capability of
106             checking that all the dependencies are satisfied, but it
107             may still be possible to produce configurations that will
108             not build or (conceivably) that will build but not run.
109             Developers should be aware of this and take appropriate
110             care.</P
111 ><P
112 >By default, <B
113 CLASS="COMMAND"
114 >ecosconfig</B
115 > will
116 include all packages that are appropriate for the specified hardware
117 in the configuration. The common HAL package and
118 the <SPAN
119 CLASS="PRODUCTNAME"
120 >eCos</SPAN
121 > infrastructure must be present in every configuration. In
122 addition, it is always necessary to have one architectural HAL package
123 and one platform HAL package. Other packages are optional, and can
124 be added or removed from a configuration as required.</P
125 ><P
126 >The application may not require all of the packages; for example,
127 it might not need the &micro;ITRON compatibility
128 package, or the floating point support provided by the math library.
129 There is a slight overhead when <SPAN
130 CLASS="PRODUCTNAME"
131 >eCos</SPAN
132 > is built because the packages
133 will get compiled, and there is also a small disk space penalty.
134 However, any unused facilities will get stripped out at link-time,
135 so having redundant packages will not affect the final executable. </P
136 ></DIV
137 ><DIV
138 CLASS="NAVFOOTER"
139 ><HR
140 ALIGN="LEFT"
141 WIDTH="100%"><TABLE
142 SUMMARY="Footer navigation table"
143 WIDTH="100%"
144 BORDER="0"
145 CELLPADDING="0"
146 CELLSPACING="0"
147 ><TR
148 ><TD
149 WIDTH="33%"
150 ALIGN="left"
151 VALIGN="top"
152 ><A
153 HREF="building-the-system.html"
154 ACCESSKEY="P"
155 >Prev</A
156 ></TD
157 ><TD
158 WIDTH="34%"
159 ALIGN="center"
160 VALIGN="top"
161 ><A
162 HREF="ecos-user-guide.html"
163 ACCESSKEY="H"
164 >Home</A
165 ></TD
166 ><TD
167 WIDTH="33%"
168 ALIGN="right"
169 VALIGN="top"
170 ><A
171 HREF="coarse-grained-configuration.html"
172 ACCESSKEY="N"
173 >Next</A
174 ></TD
175 ></TR
176 ><TR
177 ><TD
178 WIDTH="33%"
179 ALIGN="left"
180 VALIGN="top"
181 >Building the System</TD
182 ><TD
183 WIDTH="34%"
184 ALIGN="center"
185 VALIGN="top"
186 ><A
187 HREF="manual-configuration.html"
188 ACCESSKEY="U"
189 >Up</A
190 ></TD
191 ><TD
192 WIDTH="33%"
193 ALIGN="right"
194 VALIGN="top"
195 >Coarse-grained Configuration</TD
196 ></TR
197 ></TABLE
198 ></DIV
199 ></BODY
200 ></HTML
201 >