
Hitachi Embedded Workshop User Manual
41
3.
Advanced Build Features
This chapter explains the more advanced build concepts.
3.1
The Build Process Revisited
Chapter 2, “Build Basics” began by describing the build process in terms of a compiler, an assembler and a
linker (figure 2.1). This will be the case for most installations of the Hitachi Embedded Workshop. However, if
you want to begin changing the build process (e.g. adding and removing phases) then it is important to
understand more about the way in which a build functions.
3.1.1
What is a Build?
Building a project means applying a set of tools upon certain input files in order to produce the desired output.
Thus, we apply a compiler upon C/C++ source files in order to create object files, we apply an assembler upon
assembler source files in order to create object files and so forth. At each step or “phase” of the build, we apply a
different tool upon a different set of input files. Figure 3.1 presents another view of the build process.
BEGIN
END
PHASE 1
PHASE 2
PHASE 3
PHASE X
Phase 1 Output Files
Phase 2 Output Files
Phase 1 Input Files
Phase 2 Input Files
Phase 3 Output Files
Phase X Output Files
Phase 3 Input Files
Phase X Input Files
Figure 3.1: Build Process
The Hitachi Embedded Workshop provides the ability to change this build process via its “Build Phases” dialog,
which can be, accessed via the [Options->Build Phases…] (figure 3.2). On the left-hand side are the phases that