Components of the Toolset

The complete Green Hills MCore cross development toolset includes the following components.

Compiler Drivers

A compiler driver is a program which invokes the other components of the tool set to process a program. There is a separate compiler driver for each source language. The drivers use command line arguments and source file extensions to determine which compiler or assembler to invoke for each source file, then sequence the resulting output through the subsequent linker and conversion utilities, relieving the user of the burden of invoking each of these tools individually.

Compilers Each Green Hills optimizing compiler is a combination of a language-specific front end, a global optimizer, and a target-specific code generator. Green Hills provides compilers for five languages: Ada, C, C++, FORTRAN, and Pascal, including all major dialects. All languages for a target use the same subroutine linkage conventions. This allows modules written in different languages to call each other. The compilers generate assembly language.

Assembler The relocatable macro assembler translates assembly language statements and directives into a relocatable object file containing instructions and data.

Librarian The Librarian combines object files created by the Assembler or Linker into a library file. The linker can search library files to resolve internal references.

Linker The Linker combines one or more ELF object modules into a single ELF relocatable object file or executable program.

Debugger The MULTI Debugger is a windowing source level debugger that debugs programs written in Ada, C, C++, FORTRAN, Pascal, and assembly language. MULTI can debug a program being executed by a simulator or by a target.

Simulator The Simulator is a program which executes on the host system and simulates the execution of the MCore instructions.

ROM Monitor

The ROM Monitor is a program which resides on a target system and which interfaces with the MULTI Debugger to enable it to download programs to that target and debug them.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.