OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [user-guide/] [config-tool-building.html] - Diff between revs 28 and 174

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 28 Rev 174
<!-- 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
>Building</TITLE
>Building</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 eCos Configuration Tool"
TITLE="The eCos Configuration Tool"
HREF="the-ecos-configuration-tool.html"><LINK
HREF="the-ecos-configuration-tool.html"><LINK
REL="PREVIOUS"
REL="PREVIOUS"
TITLE="Searching"
TITLE="Searching"
HREF="config-tool-searching.html"><LINK
HREF="config-tool-searching.html"><LINK
REL="NEXT"
REL="NEXT"
TITLE="Selecting User Tools"
TITLE="Selecting User Tools"
HREF="config-tool-selecting-user-tools.html"></HEAD
HREF="config-tool-selecting-user-tools.html"></HEAD
><BODY
><BODY
CLASS="CHAPTER"
CLASS="CHAPTER"
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-searching.html"
HREF="config-tool-searching.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"
></TD
></TD
><TD
><TD
WIDTH="10%"
WIDTH="10%"
ALIGN="right"
ALIGN="right"
VALIGN="bottom"
VALIGN="bottom"
><A
><A
HREF="config-tool-selecting-user-tools.html"
HREF="config-tool-selecting-user-tools.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="CHAPTER"
CLASS="CHAPTER"
><H1
><H1
><A
><A
NAME="CONFIG-TOOL-BUILDING">Chapter 21. Building</H1
NAME="CONFIG-TOOL-BUILDING">Chapter 21. Building</H1
><DIV
><DIV
CLASS="TOC"
CLASS="TOC"
><DL
><DL
><DT
><DT
><B
><B
>Table of Contents</B
>Table of Contents</B
></DT
></DT
><DT
><DT
><A
><A
HREF="config-tool-building.html#CONFIG-TOOL-SELECTING-BUILD-TOOLS"
HREF="config-tool-building.html#CONFIG-TOOL-SELECTING-BUILD-TOOLS"
>Selecting Build Tools</A
>Selecting Build Tools</A
></DT
></DT
><DT
><DT
><A
><A
HREF="config-tool-selecting-user-tools.html"
HREF="config-tool-selecting-user-tools.html"
>Selecting User Tools</A
>Selecting User Tools</A
></DT
></DT
></DL
></DL
></DIV
></DIV
><P
><P
>When you have configured <SPAN
>When you have configured <SPAN
CLASS="PRODUCTNAME"
CLASS="PRODUCTNAME"
>eCos</SPAN
>eCos</SPAN
>, you may build the configuration.</P
>, you may build the configuration.</P
><P
><P
>On the <SPAN
>On the <SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Build</I
>Build</I
></SPAN
></SPAN
> menu, click:</P
> menu, click:</P
><P
><P
></P
></P
><UL
><UL
><LI
><LI
><P
><P
>
>
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Library</I
>Library</I
></SPAN
></SPAN
>
>
 (or click the Build Library icon on the toolbar) &#8211; this
 (or click the Build Library icon on the toolbar) &#8211; this
causes the <SPAN
causes the <SPAN
CLASS="PRODUCTNAME"
CLASS="PRODUCTNAME"
>eCos</SPAN
>eCos</SPAN
> configuration to be built. The result of a successful
> configuration to be built. The result of a successful
build will be (among other things) a library against which user
build will be (among other things) a library against which user
code can be linked</P
code can be linked</P
></LI
></LI
><LI
><LI
><P
><P
>
>
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Tests</I
>Tests</I
></SPAN
></SPAN
>
>
 &#8211; this causes the <SPAN
 &#8211; this causes the <SPAN
CLASS="PRODUCTNAME"
CLASS="PRODUCTNAME"
>eCos</SPAN
>eCos</SPAN
> configuration to be built, and
> configuration to be built, and
additionally builds the relevant test cases linked against the <SPAN
additionally builds the relevant test cases linked against the <SPAN
CLASS="PRODUCTNAME"
CLASS="PRODUCTNAME"
>eCos</SPAN
>eCos</SPAN
> library</P
> library</P
></LI
></LI
><LI
><LI
><P
><P
>
>
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Clean</I
>Clean</I
></SPAN
></SPAN
>
>
 &#8211; this removes all intermediate files, thus causing a
 &#8211; this removes all intermediate files, thus causing a
subsequent build/library or build/tests operation
subsequent build/library or build/tests operation
to cause recompilation of all relevant files.</P
to cause recompilation of all relevant files.</P
></LI
></LI
><LI
><LI
><P
><P
>
>
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Stop</I
>Stop</I
></SPAN
></SPAN
>
>
 &#8211; this causes a currently executing build (any of the
 &#8211; this causes a currently executing build (any of the
above steps) to be interrupted</P
above steps) to be interrupted</P
></LI
></LI
></UL
></UL
><P
><P
>Build options may be displayed by using the <SPAN
>Build options may be displayed by using the <SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Build-&gt;Options</I
>Build-&gt;Options</I
></SPAN
></SPAN
> menu
> menu
item. This displays a dialog box containing a drop-list control
item. This displays a dialog box containing a drop-list control
and two windows. The drop-list control allows you to select the
and two windows. The drop-list control allows you to select the
type of build option to be displayed (for example &#8220;LDFLAGS&#8221; are
type of build option to be displayed (for example &#8220;LDFLAGS&#8221; are
the options applied at link-time. The left-hand window is a tree
the options applied at link-time. The left-hand window is a tree
view of the packages loaded in the current configuration. The right-hand
view of the packages loaded in the current configuration. The right-hand
window is a list of the build options that will be used for the
window is a list of the build options that will be used for the
currently selected package.</P
currently selected package.</P
><P
><P
>Note that this dialog box currently affords only read-only
>Note that this dialog box currently affords only read-only
access to the build options. In order to change build options you
access to the build options. In order to change build options you
must edit the relevant string configuration item.</P
must edit the relevant string configuration item.</P
><P
><P
>A single level of inheritance is supported: each package&#8217;s
>A single level of inheritance is supported: each package&#8217;s
build options are combined with the global options (these are to
build options are combined with the global options (these are to
be found in the &#8220;Global build options&#8221; folder
be found in the &#8220;Global build options&#8221; folder
in the configuration view).</P
in the configuration view).</P
><P
><P
><P
><P
><IMG
><IMG
SRC="pix/buildoptions.png"></P
SRC="pix/buildoptions.png"></P
></P
></P
><DIV
><DIV
CLASS="SECT1"
CLASS="SECT1"
><H1
><H1
CLASS="SECT1"
CLASS="SECT1"
><A
><A
NAME="CONFIG-TOOL-SELECTING-BUILD-TOOLS">Selecting Build Tools</H1
NAME="CONFIG-TOOL-SELECTING-BUILD-TOOLS">Selecting Build Tools</H1
><P
><P
>Normally the installation process will supply the information
>Normally the installation process will supply the information
required for the <SPAN
required for the <SPAN
CLASS="PRODUCTNAME"
CLASS="PRODUCTNAME"
>eCos</SPAN
>eCos</SPAN
><SPAN
><SPAN
CLASS="APPLICATION"
CLASS="APPLICATION"
>Configuration Tool</SPAN
>Configuration Tool</SPAN
> to
> to
locate the build tools (compiler, linker, etc.) necessary
locate the build tools (compiler, linker, etc.) necessary
to perform a build. However if this information is not registered,
to perform a build. However if this information is not registered,
or it is necessary to specify the location manually (for example,
or it is necessary to specify the location manually (for example,
when a new toolchain installation has been made), select <SPAN
when a new toolchain installation has been made), select <SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Tools</I
>Tools</I
></SPAN
></SPAN
>-&gt;<SPAN
>-&gt;<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Paths</I
>Paths</I
></SPAN
></SPAN
>-&gt;<SPAN
>-&gt;<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Build
>Build
Tools</I
Tools</I
></SPAN
></SPAN
>. The following dialog box will be displayed:</P
>. The following dialog box will be displayed:</P
><DIV
><DIV
CLASS="FIGURE"
CLASS="FIGURE"
><A
><A
NAME="AEN1521"><P
NAME="AEN1521"><P
><B
><B
>Figure 21-1. Build tools</B
>Figure 21-1. Build tools</B
></P
></P
><P
><P
><IMG
><IMG
SRC="pix/build-tools2.png"></P
SRC="pix/build-tools2.png"></P
></DIV
></DIV
><P
><P
>This dialog box allows you to locate the folder containing
>This dialog box allows you to locate the folder containing
the build tools. </P
the build tools. </P
></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-searching.html"
HREF="config-tool-searching.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-selecting-user-tools.html"
HREF="config-tool-selecting-user-tools.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"
>Searching</TD
>Searching</TD
><TD
><TD
WIDTH="34%"
WIDTH="34%"
ALIGN="center"
ALIGN="center"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="the-ecos-configuration-tool.html"
HREF="the-ecos-configuration-tool.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"
>Selecting User Tools</TD
>Selecting User Tools</TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
></BODY
></BODY
></HTML
></HTML
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.