Compiler Environment

Use the Compiler alone or as a transparent, integral part of the CodeWarrior Development Studio. Create and compile functional projects in minimal time using the Eclipse Integrated Development Environment (IDE), or configure the compiler and use it as a standalone application in a suite of the Build Tool utilities. The Build Tool utilities include the Linker, Assembler, ROM Burner, Simulator, and Debugger.

In general, a Compiler translates source code, such as C source code files (*.c) and header (*.h) files, into object code ( *.obj and *.o) files for further processing by a Linker. The *.c files contain the programming code for the project's application. The *.h files either contain data specifically targeted to a particular microcontroller or are function-interface files. The Linker, under the command of a linker command file, uses the object-code file to directly generates absolute ( *.abs) files. The Burner uses the *.abs files to produce S-record ( *.s19 or *.sx) files for programming the ROM.

For information about mixing assembly and C source code in a single project, refer to the topic, High-Level Inline Assembler for the HC(S)08.

The typical configuration of the Compiler is its association with a project directory and an editor. The project directory contains all of the environment files required to configure your development environment and editor allows to write or modify your source files.

Note: For information about the other Build Tools, refer to the User Guides located at <CWInstallDir>\MCU\Help, where CWInstallDir is the directory in which the CodeWarrior software is installed.