📄 build-tree.html
字号:
<!-- 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"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos User Guide"HREF="ecos-user-guide.html"><LINKREL="UP"TITLE="The Component Repository and Working Directories"HREF="component-repo-and-working-dirs.html"><LINKREL="PREVIOUS"TITLE="The Component Repository and Working Directories"HREF="component-repo-and-working-dirs.html"><LINKREL="NEXT"TITLE="Install Tree"HREF="install-tree.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos User Guide</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="component-repo-and-working-dirs.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 25. The Component Repository and Working Directories</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="install-tree.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="BUILD-TREE">Build Tree</H1><P>The <ICLASS="FIRSTTERM">build tree</I> is the directory hierarchy in which all <SPANCLASS="emphasis"><ICLASS="EMPHASIS">generated</I></SPAN> files are placed. Generated files consist of the <TTCLASS="FILENAME">makefile</TT>, the compiled object files, and a dependency file (with a <TTCLASS="FILENAME">.d</TT> extension) for each source file.</P><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN2100">Purpose</H2><P>The build tree is where all intermediate object files are placed. </P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN2103">How is it modified?</H2><P>Recompiling can modify the object files.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN2106">User applications</H2><P>User application source or binary code should <SPANCLASS="emphasis"><ICLASS="EMPHASIS">not</I></SPAN> go in the build tree. </P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN2110">Examples of files in this hierarchy</H2><P></P><DIVCLASS="VARIABLELIST"><DL><DT><TTCLASS="FILENAME">ecos-work/language/c/libc/<TTCLASS="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><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="component-repo-and-working-dirs.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-user-guide.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="install-tree.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">The Component Repository and Working Directories</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="component-repo-and-working-dirs.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Install Tree</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -