📄 c-builder1.html
字号:
<br></dl><dd><div class="Item"><a name="93721"> </a><i class="term">Project</i></div><dl class="margin"><dd><div class="Indent"><a name="91837"> </a>A project consists of the source code files, build settings, and binaries that are used to create a downloadable application, a custom VxWorks image, or a bootable application. The project facility provides a simple means of defining, modifying, and maintaining a variety of build options for each project. Each project requires its own directory. </div><br><dd><div class="Indent"><a name="105284"> </a>When you first create a project, you define it as either a downloadable application or a bootable application. In this context, custom-configured VxWorks images that are not linked to application code can be considered bootable applications. </div><br></dl><dd><div class="Item"><a name="105285"> </a><i class="term">Workspace</i></div><dl class="margin"><dd><div class="Indent"><a name="93640"> </a>A workspace is a logical and graphical "container" for one or more projects. It provides you with a useful means for working with related material, such as associating the downloadable application modules, VxWorks images, and bootable applications that are developed for a given product; or sharing projects amongst different developers and products; and so on.</div><br></dl><dd><div class="Item"><a name="93627"> </a><i class="term">Component </i></div><dl class="margin"><dd><div class="Indent"><a name="93628"> </a>A component is a VxWorks facility that can be built into, or excluded from, a custom version of VxWorks or a bootable application. Many components have parameters that can be reset to suit the needs of an application. For example, various file system components can be included in, or excluded from, VxWorks; and they each include a parameter that defines the maximum number of open files.</div><br></dl><dd><div class="Item"><a name="93662"> </a><i class="term">Toolchain</i></div><dl class="margin"><dd><div class="Indent"><a name="93663"> </a>A toolchain is a set of cross-development tools used to build applications for a specific target processor. The toolchains provided with Tornado are based on the GNU preprocessor, compiler, assembler, and linker (see the <i class="title">GNU Toolkit User's Guide</i>). However, many third-party toolchains are also available. The tool options are exposed to the user through various elements of the project facility GUI.</div><br></dl><dd><div class="Item"><a name="99362"> </a><i class="term">BSP</i></div><dl class="margin"><dd><div class="Indent"><a name="99363"> </a>A Board Support Package (BSP) consists primarily of the hardware-specific VxWorks code for a particular target board. A BSP includes facilities for hardware initialization, interrupt handling and generation, hardware clock and timer management, mapping of local and bus memory space, and so on. BSPs also include project files that facilitate creation of projects for bootable applications and custom VxWorks images.<sup><a href="#foot"><b class="FootnoteMarker">2</b></a></sup> </div><br></dl></dl><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="91828">Project Facility GUI</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="84597"> </a>The main components of the project facility GUI are:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84593"> </a>A project selection window, which allows you to begin creation of a new project, or open an existing project. </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84605"> </a>An application wizard that guides you through creation of a new project.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84609"> </a>A workspace window, which provides you with a view of projects, and the files, VxWorks components, and build options that make them up. The workspace window also provides access to commands for adding and deleting project files, creating new projects, configuring VxWorks components, defining builds, downloading object files, and so on.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="99527"> </a>A build toolbar, which provides access to all the major build commands. </li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="88795"> </a>As its name implies, the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Workspace</font></b> window provides the framework for the project facility. The window displays information about projects files, VxWorks components (if any), and build options in three tabbed views: <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Files</font></b>, <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">VxWorks</font></b>, and <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Builds </font></b>(<a href="c-builder1.html#88798">Figure 4-1</a>). <div class="frame"><h4 class="EntityTitle"><a name="88798"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 4-1: Workspace Window Views: Files, VxWorks, and Builds</font></a></h4><dl class="margin"><div class="CellBody"><a name="88805"> </a><img class="figure" border="0" src="images/c-buildera1.gif"></div></dl></div></p><dd><p class="Body"><a name="88806"> </a>The workspace allows you to:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88807"> </a>Display information about the files, VxWorks components, and build options that make up a project, or set of projects.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88808"> </a>Add, open for editing, compile, and delete source code files.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88809"> </a>Download applications to the target.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88810"> </a>Scale and customize VxWorks by adding and deleting components, as well as display component dependencies and view object sizes.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88811"> </a>Specify and modify one or more builds for a project, display detailed build information, and modify build options.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88812"> </a>Add, delete, rename, or build a project.</li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="93497"> </a>A context-sensitive menu is available in each of the workspace views. A right-mouse click displays the menu. The first section of the menu provides commands relevant to the GUI object you have selected. The second section displays commands relevant to the current page of the window. And the third section displays global commands that are relevant to the entire workspace (<a href="c-builder1.html#102958">Figure 4-2</a>). </p><dd><p class="Body"><a name="102936"> </a>Many of the context menu options are also available under the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">File</font></b> and <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Project</font></b> and <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Build</font></b> menus. </p><dd><p class="Body"><a name="102951"> </a>For information about using the Tornado editor, see <a href="c-editor.html#83913"><i class="title">3. Editor</i></a>. For information about using an alternate editor, integrating configuration management tools (such as ClearCase) with the project facility, and other customization options, see <a href="c-customize.html#83918"><i class="title">9. Customization</i></a>.<div class="frame"><h4 class="EntityTitle"><a name="102958"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 4-2: Workspace Window Context Menu</font></a></h4><dl class="margin"><div class="CellBody"><a name="102964"> </a><img class="figure" border="0" src="images/c-builder21.gif"></div></dl></div></p></dl></dl><a name="foot"><hr></a><p class="FootnoteNumberMarker">1: <span class="Footnote"><a name="97546"> </a>The text and data sections of a relocateable object module are in transitory form. Because of the nature of a cross-development environment, some addresses cannot be known at time of compilation. These sections are modified (<i class="emphasis">relocated</i> or <i class="emphasis">linked</i>) by the Tornado object-module loader when it inserts the modules into the target system.</span><p class="FootnoteNumberMarker">2: <span class="Footnote"><a name="101707"> </a>Beginning with the 2.0 release of Tornado.</span><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-builder.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-builder.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-builder2.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -