]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - doc/html/user-guide/build-tree.html
RedBoot TX53 Release 2012-02-15
[karo-tx-redboot.git] / doc / html / user-guide / build-tree.html
1 <!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2 <!-- This material may be distributed only subject to the terms      -->
3 <!-- and conditions set forth in the Open Publication License, v1.0  -->
4 <!-- or later (the latest version is presently available at          -->
5 <!-- http://www.opencontent.org/openpub/).                           -->
6 <!-- Distribution of the work or derivative of the work in any       -->
7 <!-- standard (paper) book form is prohibited unless prior           -->
8 <!-- permission is obtained from the copyright holder.               -->
9 <HTML
10 ><HEAD
11 ><TITLE
12 >Build Tree</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
14 <META
15 NAME="GENERATOR"
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17 "><LINK
18 REL="HOME"
19 TITLE="eCos User Guide"
20 HREF="ecos-user-guide.html"><LINK
21 REL="UP"
22 TITLE="The Component Repository and Working Directories"
23 HREF="component-repo-and-working-dirs.html"><LINK
24 REL="PREVIOUS"
25 TITLE="The Component Repository and Working Directories"
26 HREF="component-repo-and-working-dirs.html"><LINK
27 REL="NEXT"
28 TITLE="Install Tree"
29 HREF="install-tree.html"></HEAD
30 ><BODY
31 CLASS="SECT1"
32 BGCOLOR="#FFFFFF"
33 TEXT="#000000"
34 LINK="#0000FF"
35 VLINK="#840084"
36 ALINK="#0000FF"
37 ><DIV
38 CLASS="NAVHEADER"
39 ><TABLE
40 SUMMARY="Header navigation table"
41 WIDTH="100%"
42 BORDER="0"
43 CELLPADDING="0"
44 CELLSPACING="0"
45 ><TR
46 ><TH
47 COLSPAN="3"
48 ALIGN="center"
49 >eCos User Guide</TH
50 ></TR
51 ><TR
52 ><TD
53 WIDTH="10%"
54 ALIGN="left"
55 VALIGN="bottom"
56 ><A
57 HREF="component-repo-and-working-dirs.html"
58 ACCESSKEY="P"
59 >Prev</A
60 ></TD
61 ><TD
62 WIDTH="80%"
63 ALIGN="center"
64 VALIGN="bottom"
65 >Chapter 25. The Component Repository and Working Directories</TD
66 ><TD
67 WIDTH="10%"
68 ALIGN="right"
69 VALIGN="bottom"
70 ><A
71 HREF="install-tree.html"
72 ACCESSKEY="N"
73 >Next</A
74 ></TD
75 ></TR
76 ></TABLE
77 ><HR
78 ALIGN="LEFT"
79 WIDTH="100%"></DIV
80 ><DIV
81 CLASS="SECT1"
82 ><H1
83 CLASS="SECT1"
84 ><A
85 NAME="BUILD-TREE">Build Tree</H1
86 ><P
87 >The <I
88 CLASS="FIRSTTERM"
89 >build tree</I
90 > is the directory
91           hierarchy in which all <SPAN
92 CLASS="emphasis"
93 ><I
94 CLASS="EMPHASIS"
95 >generated</I
96 ></SPAN
97 > files
98           are placed. Generated files consist of the
99           <TT
100 CLASS="FILENAME"
101 >makefile</TT
102 >, the compiled object files,
103           and a dependency file (with a <TT
104 CLASS="FILENAME"
105 >.d</TT
106 >
107           extension) for each source file.</P
108 ><DIV
109 CLASS="SECT2"
110 ><H2
111 CLASS="SECT2"
112 ><A
113 NAME="AEN2100">Purpose</H2
114 ><P
115 >The build tree is where all intermediate object files are
116             placed. </P
117 ></DIV
118 ><DIV
119 CLASS="SECT2"
120 ><H2
121 CLASS="SECT2"
122 ><A
123 NAME="AEN2103">How is it modified?</H2
124 ><P
125 >Recompiling can modify the object files.</P
126 ></DIV
127 ><DIV
128 CLASS="SECT2"
129 ><H2
130 CLASS="SECT2"
131 ><A
132 NAME="AEN2106">User applications</H2
133 ><P
134 >User application source or binary code should
135             <SPAN
136 CLASS="emphasis"
137 ><I
138 CLASS="EMPHASIS"
139 >not</I
140 ></SPAN
141 > go in the build tree. </P
142 ></DIV
143 ><DIV
144 CLASS="SECT2"
145 ><H2
146 CLASS="SECT2"
147 ><A
148 NAME="AEN2110">Examples of files in this hierarchy</H2
149 ><P
150 ></P
151 ><DIV
152 CLASS="VARIABLELIST"
153 ><DL
154 ><DT
155 ><TT
156 CLASS="FILENAME"
157 >ecos-work/language/c/libc/<TT
158 CLASS="REPLACEABLE"
159 ><I
160 >&#60;version&#62;</I
161 ></TT
162 >/src</TT
163 ></DT
164 ><DD
165 ><P
166 >The directory in which object files for
167                   the C library are built.</P
168 ></DD
169 ></DL
170 ></DIV
171 ></DIV
172 ></DIV
173 ><DIV
174 CLASS="NAVFOOTER"
175 ><HR
176 ALIGN="LEFT"
177 WIDTH="100%"><TABLE
178 SUMMARY="Footer navigation table"
179 WIDTH="100%"
180 BORDER="0"
181 CELLPADDING="0"
182 CELLSPACING="0"
183 ><TR
184 ><TD
185 WIDTH="33%"
186 ALIGN="left"
187 VALIGN="top"
188 ><A
189 HREF="component-repo-and-working-dirs.html"
190 ACCESSKEY="P"
191 >Prev</A
192 ></TD
193 ><TD
194 WIDTH="34%"
195 ALIGN="center"
196 VALIGN="top"
197 ><A
198 HREF="ecos-user-guide.html"
199 ACCESSKEY="H"
200 >Home</A
201 ></TD
202 ><TD
203 WIDTH="33%"
204 ALIGN="right"
205 VALIGN="top"
206 ><A
207 HREF="install-tree.html"
208 ACCESSKEY="N"
209 >Next</A
210 ></TD
211 ></TR
212 ><TR
213 ><TD
214 WIDTH="33%"
215 ALIGN="left"
216 VALIGN="top"
217 >The Component Repository and Working Directories</TD
218 ><TD
219 WIDTH="34%"
220 ALIGN="center"
221 VALIGN="top"
222 ><A
223 HREF="component-repo-and-working-dirs.html"
224 ACCESSKEY="U"
225 >Up</A
226 ></TD
227 ><TD
228 WIDTH="33%"
229 ALIGN="right"
230 VALIGN="top"
231 >Install Tree</TD
232 ></TR
233 ></TABLE
234 ></DIV
235 ></BODY
236 ></HTML
237 >