URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [user-guide/] [build-tree.html] - Rev 174
Compare with Previous | Blame | View Log
<!-- Copyright (C) 2003 Red Hat, Inc. --> <!-- This material may be distributed only subject to the terms --> <!-- and conditions set forth in the Open Publication License, v1.0 --> <!-- or later (the latest version is presently available at --> <!-- http://www.opencontent.org/openpub/). --> <!-- Distribution of the work or derivative of the work in any --> <!-- standard (paper) book form is prohibited unless prior --> <!-- permission is obtained from the copyright holder. --> <HTML ><HEAD ><TITLE >Build Tree</TITLE ><meta name="MSSmartTagsPreventParsing" content="TRUE"> <META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="HOME" TITLE="eCos User Guide" HREF="ecos-user-guide.html"><LINK REL="UP" TITLE="The Component Repository and Working Directories" HREF="component-repo-and-working-dirs.html"><LINK REL="PREVIOUS" TITLE="The Component Repository and Working Directories" HREF="component-repo-and-working-dirs.html"><LINK REL="NEXT" TITLE="Install Tree" HREF="install-tree.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >eCos User Guide</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="component-repo-and-working-dirs.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 25. The Component Repository and Working Directories</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="install-tree.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="BUILD-TREE">Build Tree</H1 ><P >The <I CLASS="FIRSTTERM" >build tree</I > is the directory hierarchy in which all <SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >generated</I ></SPAN > files are placed. Generated files consist of the <TT CLASS="FILENAME" >makefile</TT >, the compiled object files, and a dependency file (with a <TT CLASS="FILENAME" >.d</TT > extension) for each source file.</P ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="AEN2100">Purpose</H2 ><P >The build tree is where all intermediate object files are placed. </P ></DIV ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="AEN2103">How is it modified?</H2 ><P >Recompiling can modify the object files.</P ></DIV ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="AEN2106">User applications</H2 ><P >User application source or binary code should <SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >not</I ></SPAN > go in the build tree. </P ></DIV ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="AEN2110">Examples of files in this hierarchy</H2 ><P ></P ><DIV CLASS="VARIABLELIST" ><DL ><DT ><TT CLASS="FILENAME" >ecos-work/language/c/libc/<TT CLASS="REPLACEABLE" ><I ><version></I ></TT >/src</TT ></DT ><DD ><P >The directory in which object files for the C library are built.</P ></DD ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="component-repo-and-working-dirs.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ecos-user-guide.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="install-tree.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >The Component Repository and Working Directories</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="component-repo-and-working-dirs.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Install Tree</TD ></TR ></TABLE ></DIV ></BODY ></HTML >