<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- permission is obtained from the copyright holder. -->
|
<!-- permission is obtained from the copyright holder. -->
|
<HTML
|
<HTML
|
><HEAD
|
><HEAD
|
><TITLE
|
><TITLE
|
>Packages</TITLE
|
>Packages</TITLE
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
<META
|
<META
|
NAME="GENERATOR"
|
NAME="GENERATOR"
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
"><LINK
|
"><LINK
|
REL="HOME"
|
REL="HOME"
|
TITLE="eCos User Guide"
|
TITLE="eCos User Guide"
|
HREF="ecos-user-guide.html"><LINK
|
HREF="ecos-user-guide.html"><LINK
|
REL="UP"
|
REL="UP"
|
TITLE="Manual Configuration"
|
TITLE="Manual Configuration"
|
HREF="manual-configuration.html"><LINK
|
HREF="manual-configuration.html"><LINK
|
REL="PREVIOUS"
|
REL="PREVIOUS"
|
TITLE="Building the System"
|
TITLE="Building the System"
|
HREF="building-the-system.html"><LINK
|
HREF="building-the-system.html"><LINK
|
REL="NEXT"
|
REL="NEXT"
|
TITLE="Coarse-grained Configuration"
|
TITLE="Coarse-grained Configuration"
|
HREF="coarse-grained-configuration.html"></HEAD
|
HREF="coarse-grained-configuration.html"></HEAD
|
><BODY
|
><BODY
|
CLASS="SECT1"
|
CLASS="SECT1"
|
BGCOLOR="#FFFFFF"
|
BGCOLOR="#FFFFFF"
|
TEXT="#000000"
|
TEXT="#000000"
|
LINK="#0000FF"
|
LINK="#0000FF"
|
VLINK="#840084"
|
VLINK="#840084"
|
ALINK="#0000FF"
|
ALINK="#0000FF"
|
><DIV
|
><DIV
|
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
><TABLE
|
><TABLE
|
SUMMARY="Header navigation table"
|
SUMMARY="Header navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TH
|
><TH
|
COLSPAN="3"
|
COLSPAN="3"
|
ALIGN="center"
|
ALIGN="center"
|
>eCos User Guide</TH
|
>eCos User Guide</TH
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="building-the-system.html"
|
HREF="building-the-system.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="80%"
|
WIDTH="80%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
>Chapter 28. Manual Configuration</TD
|
>Chapter 28. Manual Configuration</TD
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="coarse-grained-configuration.html"
|
HREF="coarse-grained-configuration.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
><DIV
|
><DIV
|
CLASS="SECT1"
|
CLASS="SECT1"
|
><H1
|
><H1
|
CLASS="SECT1"
|
CLASS="SECT1"
|
><A
|
><A
|
NAME="ECOS-PACKAGES">Packages</H1
|
NAME="ECOS-PACKAGES">Packages</H1
|
><P
|
><P
|
><SPAN
|
><SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> is a component architecture. The system comes as a
|
> is a component architecture. The system comes as a
|
number of packages which can be
|
number of packages which can be
|
enabled or disabled as required, and new packages can be
|
enabled or disabled as required, and new packages can be
|
added as they become available. Unfortunately, the packages
|
added as they become available. Unfortunately, the packages
|
are not completely independent: for example the µITRON
|
are not completely independent: for example the µITRON
|
compatibility package relies almost entirely on
|
compatibility package relies almost entirely on
|
functionality provided by the kernel package, and it would
|
functionality provided by the kernel package, and it would
|
not make sense to try to build µITRON if the kernel
|
not make sense to try to build µITRON if the kernel
|
was disabled. The C library has fewer dependencies: some
|
was disabled. The C library has fewer dependencies: some
|
parts of the C library rely on kernel functionality, but it
|
parts of the C library rely on kernel functionality, but it
|
is possible to disable these parts and thus build a system
|
is possible to disable these parts and thus build a system
|
that has the C library but no kernel. The
|
that has the C library but no kernel. The
|
<B
|
<B
|
CLASS="COMMAND"
|
CLASS="COMMAND"
|
>ecosconfig</B
|
>ecosconfig</B
|
> tool has the capability of
|
> tool has the capability of
|
checking that all the dependencies are satisfied, but it
|
checking that all the dependencies are satisfied, but it
|
may still be possible to produce configurations that will
|
may still be possible to produce configurations that will
|
not build or (conceivably) that will build but not run.
|
not build or (conceivably) that will build but not run.
|
Developers should be aware of this and take appropriate
|
Developers should be aware of this and take appropriate
|
care.</P
|
care.</P
|
><P
|
><P
|
>By default, <B
|
>By default, <B
|
CLASS="COMMAND"
|
CLASS="COMMAND"
|
>ecosconfig</B
|
>ecosconfig</B
|
> will
|
> will
|
include all packages that are appropriate for the specified hardware
|
include all packages that are appropriate for the specified hardware
|
in the configuration. The common HAL package and
|
in the configuration. The common HAL package and
|
the <SPAN
|
the <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> infrastructure must be present in every configuration. In
|
> infrastructure must be present in every configuration. In
|
addition, it is always necessary to have one architectural HAL package
|
addition, it is always necessary to have one architectural HAL package
|
and one platform HAL package. Other packages are optional, and can
|
and one platform HAL package. Other packages are optional, and can
|
be added or removed from a configuration as required.</P
|
be added or removed from a configuration as required.</P
|
><P
|
><P
|
>The application may not require all of the packages; for example,
|
>The application may not require all of the packages; for example,
|
it might not need the µITRON compatibility
|
it might not need the µITRON compatibility
|
package, or the floating point support provided by the math library.
|
package, or the floating point support provided by the math library.
|
There is a slight overhead when <SPAN
|
There is a slight overhead when <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> is built because the packages
|
> is built because the packages
|
will get compiled, and there is also a small disk space penalty.
|
will get compiled, and there is also a small disk space penalty.
|
However, any unused facilities will get stripped out at link-time,
|
However, any unused facilities will get stripped out at link-time,
|
so having redundant packages will not affect the final executable. </P
|
so having redundant packages will not affect the final executable. </P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
SUMMARY="Footer navigation table"
|
SUMMARY="Footer navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="building-the-system.html"
|
HREF="building-the-system.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="ecos-user-guide.html"
|
HREF="ecos-user-guide.html"
|
ACCESSKEY="H"
|
ACCESSKEY="H"
|
>Home</A
|
>Home</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="coarse-grained-configuration.html"
|
HREF="coarse-grained-configuration.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
>Building the System</TD
|
>Building the System</TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="manual-configuration.html"
|
HREF="manual-configuration.html"
|
ACCESSKEY="U"
|
ACCESSKEY="U"
|
>Up</A
|
>Up</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
>Coarse-grained Configuration</TD
|
>Coarse-grained Configuration</TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
></BODY
|
></BODY
|
></HTML
|
></HTML
|
|
|