Post
by:
tt2763012
member
ID 17366
Date: 01/06/2009
|
Dịch đoạn tiếng anh này hộ tớ với(Tớ đang dịch nó mà có nhiều từ không hiể
The eCos Build Process
The main goal of the eCos build process is the generation of an eCos library. This library is
called libtarget.a. Other target files are also generated, such as a linker script file and, in
some cases, additional libraries may be generated.
The RedBoot build process is slightly different from that for eCos because a binary file is
generated at the end of a RedBoot build, which is then installed on the target hardware.
The eCos library build process uses makefiles and the GNU make utility to assist in generating
the eCos library. The eCos build process involves three separate trees: source, build,
and install. The source tree is the source code repository, which is located under the packages
directory.
The build tree is generated by the configuration tools and contains intermediate files, such
as makefiles and object files. The structure of the build tree might differ between system builds.
Typically, each package in the configuration has its own directory in the build tree, which is used
to store that package’s makefiles and object files.
The install tree is the location of the eCos main library file and the exported header files,
which are used when the application is built. The library files are located under the lib subdirectory,
and the header files are contained under the include subdirectory. By default, the
build and install trees are contained in the same working directory.
góp
ý kiến
|