<!-- 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
|
>Invoking the eCos Configuration Tool</TITLE
|
>Invoking the eCos Configuration Tool</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="Getting Started"
|
TITLE="Getting Started"
|
HREF="config-tool-getting-started.html"><LINK
|
HREF="config-tool-getting-started.html"><LINK
|
REL="PREVIOUS"
|
REL="PREVIOUS"
|
TITLE="Getting Started"
|
TITLE="Getting Started"
|
HREF="config-tool-getting-started.html"><LINK
|
HREF="config-tool-getting-started.html"><LINK
|
REL="NEXT"
|
REL="NEXT"
|
TITLE="The Component Repository"
|
TITLE="The Component Repository"
|
HREF="config-tool-component-repository.html"></HEAD
|
HREF="config-tool-component-repository.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="config-tool-getting-started.html"
|
HREF="config-tool-getting-started.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 15. Getting Started</TD
|
>Chapter 15. Getting Started</TD
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="config-tool-component-repository.html"
|
HREF="config-tool-component-repository.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="CONFIG-TOOL-INVOKING">Invoking the <SPAN
|
NAME="CONFIG-TOOL-INVOKING">Invoking the <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> <SPAN
|
> <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>Configuration Tool</SPAN
|
>Configuration Tool</SPAN
|
></H1
|
></H1
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN967">On Linux</H2
|
NAME="AEN967">On Linux</H2
|
><P
|
><P
|
>Add the <SPAN
|
>Add the <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> <SPAN
|
> <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>Configuration Tool</SPAN
|
>Configuration Tool</SPAN
|
> install directory to your PATH, for example:</P
|
> install directory to your PATH, for example:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="PROGRAMLISTING"
|
CLASS="PROGRAMLISTING"
|
>export PATH=/opt/ecos/ecos<TT
|
>export PATH=/opt/ecos/ecos<TT
|
CLASS="REPLACEABLE"
|
CLASS="REPLACEABLE"
|
><I
|
><I
|
><version></I
|
><version></I
|
></TT
|
></TT
|
>/bin:$PATH</PRE
|
>/bin:$PATH</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>You may run configtool with zero, one or two arguments. You can specify the <SPAN
|
>You may run configtool with zero, one or two arguments. You can specify the <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> repository
|
> repository
|
location, and/or an <SPAN
|
location, and/or an <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> save file (extension .ecc) on the command line. The ordering of these
|
> save file (extension .ecc) on the command line. The ordering of these
|
two arguments is not significant. For example:</P
|
two arguments is not significant. For example:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="PROGRAMLISTING"
|
CLASS="PROGRAMLISTING"
|
>configtool /opt/ecos/ecos<TT
|
>configtool /opt/ecos/ecos<TT
|
CLASS="REPLACEABLE"
|
CLASS="REPLACEABLE"
|
><I
|
><I
|
><version></I
|
><version></I
|
></TT
|
></TT
|
>/packages myfile.ecc</PRE
|
>/packages myfile.ecc</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>The <SPAN
|
>The <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>Configuration Tool</SPAN
|
>Configuration Tool</SPAN
|
> will be displayed (see <A
|
> will be displayed (see <A
|
HREF="config-tool-invoking.html#FIGURE-CONFIGURATION-TOOL"
|
HREF="config-tool-invoking.html#FIGURE-CONFIGURATION-TOOL"
|
>Figure 15-1</A
|
>Figure 15-1</A
|
>).</P
|
>).</P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN982">On Windows</H2
|
NAME="AEN982">On Windows</H2
|
><P
|
><P
|
>There are two ways in which to invoke the <SPAN
|
>There are two ways in which to invoke the <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> <SPAN
|
> <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>Configuration Tool</SPAN
|
>Configuration Tool</SPAN
|
>:</P
|
>:</P
|
><P
|
><P
|
></P
|
></P
|
><UL
|
><UL
|
><LI
|
><LI
|
><P
|
><P
|
> from the desktop explorer or program set up at installation
|
> from the desktop explorer or program set up at installation
|
time (by default
|
time (by default
|
<SPAN
|
<SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>Start</I
|
>Start</I
|
></SPAN
|
></SPAN
|
>
|
>
|
->
|
->
|
<SPAN
|
<SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>Programs</I
|
>Programs</I
|
></SPAN
|
></SPAN
|
>
|
>
|
->
|
->
|
<SPAN
|
<SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>eCos</I
|
>eCos</I
|
></SPAN
|
></SPAN
|
>
|
>
|
->
|
->
|
<SPAN
|
<SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>Configuration Tool</I
|
>Configuration Tool</I
|
></SPAN
|
></SPAN
|
>
|
>
|
).</P
|
).</P
|
></LI
|
></LI
|
><LI
|
><LI
|
><P
|
><P
|
>type (at a command prompt or in the
|
>type (at a command prompt or in the
|
<SPAN
|
<SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>Start</I
|
>Start</I
|
></SPAN
|
></SPAN
|
>
|
>
|
menu’s
|
menu’s
|
<SPAN
|
<SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>Run</I
|
>Run</I
|
></SPAN
|
></SPAN
|
>
|
>
|
item): <foldername>\ConfigTool.exe where <foldername> is
|
item): <foldername>\ConfigTool.exe where <foldername> is
|
the full path of the directory in which you installed the <SPAN
|
the full path of the directory in which you installed the <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
>
|
>
|
<SPAN
|
<SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>Configuration Tool</SPAN
|
>Configuration Tool</SPAN
|
>.</P
|
>.</P
|
></LI
|
></LI
|
><LI
|
><LI
|
><P
|
><P
|
>The
|
>The
|
<SPAN
|
<SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>Configuration Tool</SPAN
|
>Configuration Tool</SPAN
|
>
|
>
|
will be displayed (see <A
|
will be displayed (see <A
|
HREF="config-tool-invoking.html#FIGURE-CONFIGURATION-TOOL"
|
HREF="config-tool-invoking.html#FIGURE-CONFIGURATION-TOOL"
|
>Figure 15-1</A
|
>Figure 15-1</A
|
>).</P
|
>).</P
|
></LI
|
></LI
|
></UL
|
></UL
|
><P
|
><P
|
>You may run configtool with zero, one or two arguments. You can specify the <SPAN
|
>You may run configtool with zero, one or two arguments. You can specify the <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> repository
|
> repository
|
location, and/or an <SPAN
|
location, and/or an <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> save file (extension .ecc) on the command line. The ordering of these
|
> save file (extension .ecc) on the command line. The ordering of these
|
two arguments is not significant. For example:</P
|
two arguments is not significant. For example:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="PROGRAMLISTING"
|
CLASS="PROGRAMLISTING"
|
>configtool "c:\Program Files\eCos\packages" myfile.ecc</PRE
|
>configtool "c:\Program Files\eCos\packages" myfile.ecc</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>If you invoke the configuration tool from the command line with
|
>If you invoke the configuration tool from the command line with
|
<SPAN
|
<SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>--help</I
|
>--help</I
|
></SPAN
|
></SPAN
|
>, you will see this output:</P
|
>, you will see this output:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="PROGRAMLISTING"
|
CLASS="PROGRAMLISTING"
|
>Usage: eCos Configuration Tool [-h] [-e] [-v] [-c] [input file 1] [input file 2]
|
>Usage: eCos Configuration Tool [-h] [-e] [-v] [-c] [input file 1] [input file 2]
|
-h --help displays help on the command line parameters
|
-h --help displays help on the command line parameters
|
-e --edit-only edit save file only
|
-e --edit-only edit save file only
|
-v --version print version
|
-v --version print version
|
-c --compile-help compile online help only</PRE
|
-c --compile-help compile online help only</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>This summarizes valid parameters and switches. Switches are shown with
|
>This summarizes valid parameters and switches. Switches are shown with
|
both short form and long form.</P
|
both short form and long form.</P
|
><P
|
><P
|
><SPAN
|
><SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>--help</I
|
>--help</I
|
></SPAN
|
></SPAN
|
> shows valid options and parameters, as above.</P
|
> shows valid options and parameters, as above.</P
|
><P
|
><P
|
><SPAN
|
><SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>--edit-only</I
|
>--edit-only</I
|
></SPAN
|
></SPAN
|
> runs the <SPAN
|
> runs the <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>Configuration Tool</SPAN
|
>Configuration Tool</SPAN
|
> in a mode that
|
> in a mode that
|
suppresses creation of a build tree, in case you only want to create and edit save files.</P
|
suppresses creation of a build tree, in case you only want to create and edit save files.</P
|
><P
|
><P
|
><SPAN
|
><SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>--version</I
|
>--version</I
|
></SPAN
|
></SPAN
|
> shows version and build date information, and exits.</P
|
> shows version and build date information, and exits.</P
|
><P
|
><P
|
><SPAN
|
><SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>--compile-help</I
|
>--compile-help</I
|
></SPAN
|
></SPAN
|
> compiles help contents files from the HTML documentation
|
> compiles help contents files from the HTML documentation
|
files that the tool finds in the <SPAN
|
files that the tool finds in the <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> repository, and exits.</P
|
> repository, and exits.</P
|
><DIV
|
><DIV
|
CLASS="FIGURE"
|
CLASS="FIGURE"
|
><A
|
><A
|
NAME="FIGURE-CONFIGURATION-TOOL"><P
|
NAME="FIGURE-CONFIGURATION-TOOL"><P
|
><B
|
><B
|
>Figure 15-1. <SPAN
|
>Figure 15-1. <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>Configuration Tool</SPAN
|
>Configuration Tool</SPAN
|
></B
|
></B
|
></P
|
></P
|
><P
|
><P
|
><IMG
|
><IMG
|
SRC="pix/config-f1.png"></P
|
SRC="pix/config-f1.png"></P
|
></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="config-tool-getting-started.html"
|
HREF="config-tool-getting-started.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="config-tool-component-repository.html"
|
HREF="config-tool-component-repository.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"
|
>Getting Started</TD
|
>Getting Started</TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="config-tool-getting-started.html"
|
HREF="config-tool-getting-started.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"
|
>The Component Repository</TD
|
>The Component Repository</TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
></BODY
|
></BODY
|
></HTML
|
></HTML
|
|
|