Contained WithinFind More DocumentationFeatured Support Resources | PDF로 이 문서 다운로드 (159 KB)
Chapter 1 IntroductionIn the context of this guide, the term production denotes all operations that you need to perform in order to generate a bootable system image from the ChorusOS source code provided (the source delivery). The ChorusOS operating system is composed of components that can be built separately. You have a choice of which components to build. Use the default profiles available in the source files you receive, or customize these files to produce your own operating system. System RequirementsYou must be running the SolarisTM operating environment or using a Windows NT system. You must have at least 250 megabytes of free disk space to use the source package. Utilities on Your Host SystemIn order to install and generate the ChorusOS operating system, your host system must provide the following utilities: awk, basename, cat, cc, chmod, cmp, cp, cut, echo, egrep, find, gzip, grep, head, ln, ls, make, m4, mkdir, mv, rm, sed, sh, sort, sum, tail, test, touch, tr, true, uname, uncompress and uniq. These utilities must be in a directory of your PATH. See "Your Source PATH" for further information on PATH. On Windows NT hosts, these utilities are provided with the Windows Upgrade package which is part of your delivery. The host file system must support:
DirectoriesThe source files are installed in a default source directory that is separate from the work directory.
Components and ToolsThe range of components available within the ChorusOS operating system is organized in a hierarchy spanning from the NUCLEUS, at the lowest level, to the EXAMPLES, at the top level as shown in Table 1-1. Table 1-1 Source components in a ChorusOS and their level
The ChorusOS product ensures compatibility between components built with the two development tools available, mkmk and imake. The modularity of the source code facilitates porting of the operating system. See the ChorusOS 4.0 Porting Guide for more information. The mkmk and imake tools provide a mechanism which uses input files in order to create the Makefile appropriate to that directory. They:
Introduction to mkmkTable 1-2 lists components built with the mkmk tool. Table 1-2 Built with mkmk
The mkmk tool is described in this document. It is used to build components at the nucleus and operating system levels (Table 1-2). Introduction to imakeTable 1-3 lists components built with the imake tool. Table 1-3 Components Built with imake
For further information on the imake tool refer to Chapter 3, Building with imake of this guide, ChorusOS 4.0 Introduction and to the ChorusOSMkMf(1CC) man page. Tools Provided with the ChorusOS SystemTable 1-4 gives the list of utilities and production files provided with the ChorusOS system and used with either the mkmk or the imake development tool. Utilities that can be called directly by developers are described in more detail in the ChorusOS man pages (configure, ChorusOSMkMf, configurator and mkmerge). The files in this Table are located in the <bin_dir>/tools/host/bin directory. Table 1-4 Host Tools Provided with the ChorusOS System
The imake files; Imake.rules, Imake.tmpl, Package.rules, Project.tmpl are discussed in ChorusOS 4.0 Introduction. Table 1-5 gives a description of these files. Table 1-5 The imake files provided with the ChorusOS System
Each file in the tgt-make directory deals with make rules for compiling target binary files. Certain files are specific to the gcc compiler, others to the ghs compiler. Only common and gcc/powerpc specific files are described here. All files listed in Table 1-6 are located in <bin_dir>/tools/tgt-make directory: Table 1-6 Target Rules for ChorusOS
Note - None of the above files can be modified. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||