User`s guide
Development Studio Overview
Development Process
34
Targeting MC56F83xx/DSP5685x Controllers
NOTE Figure 3.3 shows a floating editor window. Alternatively, you can
dock the editor window in the IDE main window or make it a child
window.
Building: Compiling and Linking
For the CodeWarrior IDE, building includes both compiling and linking. To start
building, you select Project>Make, from the IDE main-window menu bar. The IDE
compiler:
• Generates an object-code file from each source-code file of the build target,
incorporating appropriate optimizations.
• Updates other files of the build target, as appropriate.
• In case of errors, issues appropriate error messages and halts.
NOTE
It is possible to compile a single source file. To do so, highlight its
filename in the project window, then select Project > Compile, from
the main-window menu bar. Another useful option is compiling all
modified files of the build target: select Project>Bring Up to Date
from the main-window menu bar.
In UNIX and other command-line environments, the IDE stores object code in a
binary (.o or .obj) file. On Windows targets, the IDE stores and manages object
files internally in the data folder.
A proprietary compiler architecture at the heart of the CodeWarrior IDE handles
multiple languages and platform targets. Front-end language compilers generate an
intermediate representation (IR) of syntactically correct source code. This IR is
memory-resident and language-independent. Back-end compilers generate code from
the IR for specific platform targets. As Figure 3.4
depicts, the CodeWarrior IDE
manages this whole process.