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. -->
12 >Configuration Tool on Windows and Linux Quick Start</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos User Guide"
20 HREF="ecos-user-guide.html"><LINK
22 TITLE="Configuring and Building eCos from Source"
23 HREF="configuring-and-building-ecos-from-source.html"><LINK
25 TITLE="Configuring and Building eCos from Source"
26 HREF="configuring-and-building-ecos-from-source.html"><LINK
28 TITLE="Ecosconfig on Windows and Linux Quick Start"
29 HREF="using-ecosconfig-on-linux.html"></HEAD
40 SUMMARY="Header navigation table"
57 HREF="configuring-and-building-ecos-from-source.html"
65 >Chapter 11. Configuring and Building <SPAN
74 HREF="using-ecosconfig-on-linux.html"
88 NAME="USING-CONFIGTOOL-WINDOWS-LINUX">Configuration Tool on Windows and Linux Quick Start</H1
92 Note that the use of the <SPAN
94 >Configuration Tool</SPAN
96 is described in detail in <A
97 HREF="the-ecos-configuration-tool.html"
105 >Configuration Tool</SPAN
107 HREF="using-configtool-windows-linux.html#PROGRAMMING-FIGURE-CONFIGURATION-TOOL"
110 has five main elements: the <SPAN
114 >configuration window</I
128 >properties window</I
135 description window</I
148 NAME="PROGRAMMING-FIGURE-CONFIGURATION-TOOL"><P
150 >Figure 11-1. Configuration Tool</B
154 SRC="pix/config-f1.png"></P
157 >Start by opening the templates window via <SPAN
159 >Build->Templates</SPAN
161 Select the desired target (see <A
162 HREF="using-configtool-windows-linux.html#FIGURE-TEMPLATE-SELECTION"
168 NAME="FIGURE-TEMPLATE-SELECTION"><P
170 >Figure 11-2. Template selection</B
174 SRC="pix/templates01.png"></P
177 >Make sure that the configuration is correct for the target
178 in terms of endianness, CPU model, Startup type, etc. (see <A
179 HREF="using-configtool-windows-linux.html#CONFIGURING-FOR-THE-TARGET"
185 NAME="CONFIGURING-FOR-THE-TARGET"><P
187 >Figure 11-3. Configuring
192 SRC="pix/ARMStartup01.png"></P
195 >Next, select the <SPAN
199 >Build->Library</I
202 item to start building <SPAN
206 HREF="using-configtool-windows-linux.html#FIGURE-SELECTING-THE-BUILD-LIBRARY-MENU-ITEM"
209 application will configure the sources, prepare a build tree, and
213 > library, which contains the
217 > kernel and other packages.</P
221 NAME="FIGURE-SELECTING-THE-BUILD-LIBRARY-MENU-ITEM"><P
223 >Figure 11-4. Selecting the Build Library menu item</B
227 SRC="pix/build-lib01.png"></P
236 > dialog box will appear, asking
237 you to specify a directory in which to place your save file. You
238 can use the default, but it is a good idea to make a subdirectory,
248 >Figure 11-5. Save file dialog</B
252 SRC="pix/save-as-dialog.png"></P
255 >The first time you build an <SPAN
258 > library for a specific
259 architecture, the <SPAN
261 >Configuration Tool</SPAN
263 you for the location of the appropriate build tools (including
283 > dialog box (as shown in <A
284 HREF="using-configtool-windows-linux.html#FIGURE-BUILD-TOOLS-DIALOG"
286 >). You can select a location from
287 the drop down list, browse to the directory using the
294 > button, or type in the location of the
295 build tools manually.</P
299 NAME="FIGURE-BUILD-TOOLS-DIALOG"><P
301 >Figure 11-6. Build tools dialog</B
305 SRC="pix/build-tools2.png"></P
310 >Configuration Tool</SPAN
311 > may also prompt you
312 for the location of the user tools (such as <B
327 HREF="using-configtool-windows-linux.html#FIGURE-USER-TOOLS-DIALOG"
336 > dialog, you can select a location
337 from the drop down list, browse to the directory using the
344 > button, or type in the location of the
345 user tools manually. Note that on Linux, this will often be
346 unnecessary as the tools will already be on your PATH.</P
350 NAME="FIGURE-USER-TOOLS-DIALOG"><P
352 >Figure 11-7. User tools dialog</B
356 SRC="pix/user-tools-dialog.png"></P
359 >When the tool locations have been entered, the <SPAN
363 > will configure the sources, prepare a build tree,
367 > library, which contains
371 > kernel and other packages.</P
373 >The output from the configuration process and the building
377 > will be shown in the output
380 >Once the build process has finished you will have a kernel
381 with other packages in <TT
388 > tests for your particular configuration. </P
390 >You can do this by selecting <SPAN
403 Notice that you could have selected <SPAN
416 > in the earlier step and it would
423 > the library and the tests,
424 but this would increase the build time substantially, and if you
425 do not need to build the tests it is unnecessary.</P
431 >Figure 11-8. Selecting the Build Tests menu item</B
435 SRC="pix/build-tests01.png"></P
439 HREF="running-an-ecos-test-case.html"
441 > will guide you through running one
442 of the test cases you just built on the selected target,
450 SUMMARY="Footer navigation table"
461 HREF="configuring-and-building-ecos-from-source.html"
470 HREF="ecos-user-guide.html"
479 HREF="using-ecosconfig-on-linux.html"
489 >Configuring and Building <SPAN
498 HREF="configuring-and-building-ecos-from-source.html"
506 >Ecosconfig on Windows and Linux Quick Start</TD