<!-- 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
|
>Install Tree</TITLE
|
>Install Tree</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="The Component Repository and Working Directories"
|
TITLE="The Component Repository and Working Directories"
|
HREF="component-repo-and-working-dirs.html"><LINK
|
HREF="component-repo-and-working-dirs.html"><LINK
|
REL="PREVIOUS"
|
REL="PREVIOUS"
|
TITLE="Build Tree"
|
TITLE="Build Tree"
|
HREF="build-tree.html"><LINK
|
HREF="build-tree.html"><LINK
|
REL="NEXT"
|
REL="NEXT"
|
TITLE="Application Build Tree"
|
TITLE="Application Build Tree"
|
HREF="repository-app-build-tree.html"></HEAD
|
HREF="repository-app-build-tree.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="build-tree.html"
|
HREF="build-tree.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 25. The Component Repository and Working Directories</TD
|
>Chapter 25. The Component Repository and Working Directories</TD
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="repository-app-build-tree.html"
|
HREF="repository-app-build-tree.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="INSTALL-TREE">Install Tree</H1
|
NAME="INSTALL-TREE">Install Tree</H1
|
><P
|
><P
|
>The <I
|
>The <I
|
CLASS="FIRSTTERM"
|
CLASS="FIRSTTERM"
|
>install tree</I
|
>install tree</I
|
> is the location
|
> is the location
|
for all files needed for application development. The
|
for all files needed for application development. The
|
<TT
|
<TT
|
CLASS="FILENAME"
|
CLASS="FILENAME"
|
>libtarget.a</TT
|
>libtarget.a</TT
|
> library, which contains the
|
> library, which contains the
|
custom-built <SPAN
|
custom-built <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> kernel and other components, is placed
|
> kernel and other components, is placed
|
in the install tree, along with all packages’ public
|
in the install tree, along with all packages’ public
|
header files. If you build the tests, the test executable
|
header files. If you build the tests, the test executable
|
programs will also be placed in the install
|
programs will also be placed in the install
|
tree. </P
|
tree. </P
|
><P
|
><P
|
>By default, the install tree is created by
|
>By default, the install tree is created by
|
<B
|
<B
|
CLASS="COMMAND"
|
CLASS="COMMAND"
|
>ecosconfig</B
|
>ecosconfig</B
|
> in a subdirectory of the build
|
> in a subdirectory of the build
|
tree called <TT
|
tree called <TT
|
CLASS="FILENAME"
|
CLASS="FILENAME"
|
>install</TT
|
>install</TT
|
>. This can be
|
>. This can be
|
modified with the <TT
|
modified with the <TT
|
CLASS="OPTION"
|
CLASS="OPTION"
|
>--prefix</TT
|
>--prefix</TT
|
> option (see
|
> option (see
|
<A
|
<A
|
HREF="manual-configuration.html"
|
HREF="manual-configuration.html"
|
>Chapter 28</A
|
>Chapter 28</A
|
>).
|
>).
|
</P
|
</P
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN2130">Purpose</H2
|
NAME="AEN2130">Purpose</H2
|
><P
|
><P
|
>The install tree is where the custom-built
|
>The install tree is where the custom-built
|
<TT
|
<TT
|
CLASS="FILENAME"
|
CLASS="FILENAME"
|
>libtarget.a</TT
|
>libtarget.a</TT
|
> library, which contains
|
> library, which contains
|
the <SPAN
|
the <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> kernel and other components, is located. The
|
> kernel and other components, is located. The
|
install tree is also the location for all the header files
|
install tree is also the location for all the header files
|
that are part of a published interface for their
|
that are part of a published interface for their
|
component. </P
|
component. </P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN2135">How is it modified?</H2
|
NAME="AEN2135">How is it modified?</H2
|
><P
|
><P
|
>Recompiling can replace
|
>Recompiling can replace
|
<TT
|
<TT
|
CLASS="FILENAME"
|
CLASS="FILENAME"
|
>libtarget.a</TT
|
>libtarget.a</TT
|
> and the test
|
> and the test
|
executables. </P
|
executables. </P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN2139">When is it edited manually?</H2
|
NAME="AEN2139">When is it edited manually?</H2
|
><P
|
><P
|
>Where a memory layout requires modification without
|
>Where a memory layout requires modification without
|
use of the <SPAN
|
use of the <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> <SPAN
|
> <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>Configuration Tool</SPAN
|
>Configuration Tool</SPAN
|
>, the memory layout
|
>, the memory layout
|
files must be edited directly in the install tree. These
|
files must be edited directly in the install tree. These
|
files are located at
|
files are located at
|
<TT
|
<TT
|
CLASS="FILENAME"
|
CLASS="FILENAME"
|
>install/include/pkgconf/mlt_*.*</TT
|
>install/include/pkgconf/mlt_*.*</TT
|
>.
|
>.
|
Note that subsequent modification of the install tree
|
Note that subsequent modification of the install tree
|
using the Configuration Tool will result in such manual
|
using the Configuration Tool will result in such manual
|
edits being lost.</P
|
edits being lost.</P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN2145">User applications</H2
|
NAME="AEN2145">User applications</H2
|
><P
|
><P
|
>User application source or binary code should
|
>User application source or binary code should
|
<SPAN
|
<SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>not</I
|
>not</I
|
></SPAN
|
></SPAN
|
> go in the install tree. </P
|
> go in the install tree. </P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN2149">Examples of files in this hierarchy</H2
|
NAME="AEN2149">Examples of files in this hierarchy</H2
|
><P
|
><P
|
></P
|
></P
|
><DIV
|
><DIV
|
CLASS="VARIABLELIST"
|
CLASS="VARIABLELIST"
|
><DL
|
><DL
|
><DT
|
><DT
|
><TT
|
><TT
|
CLASS="FILENAME"
|
CLASS="FILENAME"
|
>install/lib/libtarget.a</TT
|
>install/lib/libtarget.a</TT
|
></DT
|
></DT
|
><DD
|
><DD
|
><P
|
><P
|
>The library containing the kernel and other components.</P
|
>The library containing the kernel and other components.</P
|
></DD
|
></DD
|
><DT
|
><DT
|
><TT
|
><TT
|
CLASS="FILENAME"
|
CLASS="FILENAME"
|
>install/include/cyg/kernel/kapi.h</TT
|
>install/include/cyg/kernel/kapi.h</TT
|
></DT
|
></DT
|
><DD
|
><DD
|
><P
|
><P
|
>The header file for the kernel C language API.</P
|
>The header file for the kernel C language API.</P
|
></DD
|
></DD
|
><DT
|
><DT
|
><TT
|
><TT
|
CLASS="FILENAME"
|
CLASS="FILENAME"
|
>install/include/pkgconf/mlt_arm_pid_ram.ldi</TT
|
>install/include/pkgconf/mlt_arm_pid_ram.ldi</TT
|
></DT
|
></DT
|
><DD
|
><DD
|
><P
|
><P
|
>The linker script fragment describing the memory
|
>The linker script fragment describing the memory
|
layout for linking applications intended for
|
layout for linking applications intended for
|
execution on an ARM PID development board using RAM
|
execution on an ARM PID development board using RAM
|
startup.</P
|
startup.</P
|
></DD
|
></DD
|
><DT
|
><DT
|
><TT
|
><TT
|
CLASS="FILENAME"
|
CLASS="FILENAME"
|
>install/include/stdio.h</TT
|
>install/include/stdio.h</TT
|
></DT
|
></DT
|
><DD
|
><DD
|
><P
|
><P
|
>The C library header file for standard I/O. </P
|
>The C library header file for standard I/O. </P
|
></DD
|
></DD
|
></DL
|
></DL
|
></DIV
|
></DIV
|
></DIV
|
></DIV
|
></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="build-tree.html"
|
HREF="build-tree.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="repository-app-build-tree.html"
|
HREF="repository-app-build-tree.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"
|
>Build Tree</TD
|
>Build Tree</TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="component-repo-and-working-dirs.html"
|
HREF="component-repo-and-working-dirs.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"
|
>Application Build Tree</TD
|
>Application Build Tree</TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
></BODY
|
></BODY
|
></HTML
|
></HTML
|
|
|