Download RISC Processor Architecture (topic heading per page)

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Dynamic-link library wikipedia , lookup

Library (computing) wikipedia , lookup

Go (programming language) wikipedia , lookup

Program optimization wikipedia , lookup

C Sharp (programming language) wikipedia , lookup

Name mangling wikipedia , lookup

Pwn2Own wikipedia , lookup

GNU Compiler Collection wikipedia , lookup

History of compiler construction wikipedia , lookup

Interpreter (computing) wikipedia , lookup

Team Foundation Server wikipedia , lookup

Compiler wikipedia , lookup

Cross compiler wikipedia , lookup

Transcript
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
Desktop
Java VM
Linux
Mac OS
SPARC
Win32
Chip Families
DSP**
PowerPC
M-Core
SHx
MIPS
V8xx
MIPS 16
68K
NEC VR
TriMedia
StarCore
* Real-Time Operating System
RTOS*
Nucleus
Palm OS
Precise/MQX
QNX/Neutrino
VxWorks
Device
GTD-5 Switch***
Nintendo64
Novell Netware
PlayStation
PlayStation 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