RISC Processor Architecture (topic heading per page)

Download Report

Transcript RISC Processor Architecture (topic heading per page)

Tutorial Introduction
PURPOSE:
- Provides an overview of the Metrowerks CodeWarrior toolset and
explains how the toolset is organized and operates
OBJECTIVES
- Describe the CodeWarrior integrated development environment (IDE)
- Identify the components of the CodeWarrior build system.
- Identify the hosts on which the IDE executes.
- Define a target.
CONTENT:
- 14 pages
- 3 questions
LEARNING TIME:
- 20 minutes
What is an IDE?
• The IDE consists of tools that are used throughout the software development process.
Project Manager
Compiler
Editor
Assembler
Search engine
Linker
Source code browser
Debugger
GUI designer
• The tools are integrated fully and seamlessly.
• A single environment is provided for software development.
-- consistent operation
-- move among all the tools freely
-- a non-modal design
IDE Architecture
Editor
Debugger
Project
Manager
Build
system
IDE Components
• Project Manager - scalable and unbounded
• Source code editor - any supported language
• Search engine - any text file or group of files
• Source browser - any supported language
• Build system - plug-in compilers, assemblers, linkers
• Debugger - any supported language and target
-- Displays source, machine code disassembly, or both
• Designer - graphical interface layout
CodeWarrior Host Environments
• CodeWarrior runs on the following operating systems:
Windows 95/98, NT
Solaris
Mac OS
Linux
• The user interface operates identically on all hosts.
• Project files and source files operate on all hosts.
• Some project data is not transferable.
-- precompiled headers
-- compiled data such as object code, debug information, browser information
CodeWarrior Build System
CodeWarrior Targets
Deskt op
Java VM
Linux
Mac OS
SP ARC
Win32
Chip Fam ilies
DSP **
P owerP C
M-Core
SHx
MIP S
V8xx
MIP S 16
68K
NEC VR
T riMedia
StarCore
* Real-Time Operating System
RT OS*
Nucleus
P alm OS
P recise/MQX
QNX/Neut rino
VxWorks
Device
GT D-5 Switch***
Nint endo64
Novell Net ware
P layStation
P layStation II
Sega Dreamcast
** Members of the Motorola DSP56800 family
*** The GTD-5 Switch is a complex telecommunication switching device.
What Is a Target?
• A platform target is the chip or operating system selected for development.
-- processor examples are PowerPC, MIPS, x86, and 68K
-- operating system examples are Windows, Mac OS, Neutrino
• A build target is a file, library, or build option for a program.
-- build target examples are debug, release, optimize
• A build target is analogous to a makefile.
Target Settings
• Target settings are the options
used to control a build.
• Each build target has its own
settings.
• Example settings are --- platform targets
-- compiler options
-- language options
IDE Preferences
• IDE preferences are global
settings.
• They affect all projects/builds.
• They are primarily Editor and
Debugger preferences.
• Example preferences are --- syntax coloring in editor
-- debugger display options
Question
Which of the following operations does the IDE manage? Click on your choice.
A) Source code writing and editing
B) Compiling and linking
C) Debugging
D) Tracking files that were changed and must be recompiled
E) All of the above
Question
What mechanism does the IDE use to manage compiler and linker settings? Click
on your choice.
A) Makefile
B) Settings panels
C) Command-line arguments and switches
Question
Which of the following platforms will host the IDE? Click on your choice.
A) Mac OS only
B) Windows only
C) Mac OS, Windows, and Solaris
D) Linux
E) C and D
Tutorial Completion
• The CodeWarrior IDE -– runs on most desktop platforms
– provides extensive support for the C, C++, and Java programming languages
– combines all development tools into an integrated environment
– manages and stores the compiler, linker, and build settings—similar to an automatic
makefile
• The IDE can build executable code for -– most desktop OSs, such as Windows, Mac OS, and Solaris
– many embedded processors and certain RTOSs