[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

 

Index



Symbols

/GI 198
/I+path 195
/APP 207
/BASE 204, 207
/c 194
/COMMANDFILE 205, 207
/CWD 194
/D 194
/DEBUG 210, 211
/DEBUGTYPE 210, 212
/DEF 205, 207
/DEFAULTLIB 207
/dis 194
/DLL 207
/E 194
/EH 197
/ENTRY 205, 207
/EXPORT 205, 208
/EXPORTFILE 205, 208
/F 195
/Fa 195
/FI 195
/Fo 195
/Fp 195
/G3 201
/G3D 201
/G3Dc 201
/G4 201
/G5 201
/G6 201
/GB 201
/Ge 198
/Gf 198
/GG 201
/GK6 202
/GM 201
/GP2 201
/GR 198
/Gs 198
/GSr 198
/GX 198
/HEAP 206, 208
/I- 195
/I+path 195
/J 198
/Jm 198
/LD 195
/LDd 195
/LIB 208
/LIBPATH 208
/link 196
/linker 196
/M 196
/MAP 209
/MM 196
/noBool 197
/NOENTRY 206, 209
/noFail 196
/noSys 196
/O 202
/OI 196
/OPT 202
/OUT 209
/OUTSYM 209
/P 197
/pragma 197
/R 199
/STACK 206, 209
/SUBSYSID 206, 210
/SUBSYSTEM 206, 210
/SYM 211, 212
/T 199
/trigraphs 199
/U 197
/USERID 206, 210
/WARN 209
/X 197
/Yc 197
/Yu 197
/ZA 199
/Za 199
/ZAr 199
/Ze 199
/Zk 200
/Zp 204
/Zs 197
/Zw 200
__alloca 143
__builtin_ 142
__fastcall 75
__stdcall 173
__stdcall conventions 166
_alloca 143
_inp 147
_inpd 147
_inpw 147
_outp 147
_outpd 147
_outpw 147

A

Access Paths panel 96
acos 146
Add Files command 160
Add option, Debugger Runtime Settings panel 118
alignment boundary 107
alloca 143
allocating variables for x86 127
AMD K6 165-178
mode switch 167
ANSI Keywords Only 134
ANSI Strict 134
ANSICPPX86.LIB library 160
Ansicx86.lib library 160
ANSI-standard libraries 159
application files. See executable files
applications
console 113
creating 47-59, 78-90
debugging 150
entry-point function 113
initialization 160
version number 114
Windows GUI 113
asin 146
/DIS 207
asm blocks in a function 137
asm keyword 134
Assembler 140
assembler
syntax 134
using for x86 133-147
See also inline assembler
atan 146
atan2 146
Automatically launch applications when SYM file opened preference setting 150

B

back-end compilerþþSee compiler
Base Address option, x86 Target panel 104
batch file 179
bool size 125
Borland International, Inc. 23
BoundsChecker debugger (NuMega) 22
building projects 56, 69, 89
Byte Alignment option, x86 CodeGen panel 107

C

C Compilers Reference 13, 55, 67, 68, 73, 74, 75, 77, 79, 87, 88, 150
C/C++ Language panel 54, 67, 87
C/C++ names 73, 74, 75, 76
C/C++ programming language
data structures 22
multiple inheritance 23
single inheritance 22
C/C++ run-time library. See libraries, C/C++ run-time
C/C++ compiler
described 19
c9x 173
calling conventions for x86 126-127
calling conventions, functions 22
Change option, Debugger Runtime Settings panel 118, 153
char size 125
CodeView debugging information 22, 114, 149
CodeView Format option, x86 CodeGen panel 108
CodeWarrior
C/C++ compiler described 19
compare to command line 23
compatibility with Microsoft software 22-23, 95-96
compiler architecture 16
components 17-22
debugger described 18
debugging 56, 89
described 10
development process 23-26
documentation architecture 11
IDE debugger 151
IDE described 17
Installer 155
installing 16
integrated development environment (IDE) 151
linker described 20
projects, building 56, 69, 89
projects, creating 48-57
tools listed 17
Tutorial 27-45
tutorials 13
Win32 resource compiler (RC) 19, 20, 93, 94-96
x86 back-end compiler 20, 22, 149
x86 linker 20, 22
CodeWarrior Resource Editor 93
COFF. See Common Object File Format
Command File 73
command file. See linker command file
Command File option, x86 Linker panel 114
command-line and CodeWarrior compared 23
commands
linker. See linker commands
comments in inline assembler 139
Commited Heap Size option, x86 Target panel 104
Commited Stack Size option, x86 Target panel 104
Common Object File Format (COFF) 20, 23
dynamic link libraries (DLLs) 20
executable files 20, 22
library files 20
object modules 20, 22
communications nub 19
compatibility with Microsoft software 22-23, 95-96
compiler
architecture 16
back-end for x86 123-131
other documentation 123
support for inline assembly 133
vectorization 167
See also C Compilers Reference
compilers
Win32 resource (RC) 19, 20, 93, 94-96
x86 back-end 20, 22, 149
compiling 25, 56, 69, 89
connecting computers for remote debugging 153-157
configuring host (MacOS) system 155-157
configuring target (Win32/x86) system 153-157
network (TCP/IP) connection 154
control panels
Network (Windows) 154
TCP/IP (Mac OS) 154
cos 146
creating
applications 47-59, 78-90
dynamic link libraries (DLLs) 71-80
projects 48-57
resources 93-96
static libraries 61-69
Cross Platform Debugging 153-157

D

DATA 73
data structures
C/C++ programming language 22
deadstripping unused code 131
Debugger
described 18
debugger
See also Debugger User Guide
Debugger Preferences
Global Preferences Panel 150
Runtime Settings 151
Debugger Runtime Settings panel 117-119
Debugger Settings panel 119-121
debugger symbol (SYM) file 56, 89, 114, 149, 150, 151
debuggers
BoundsChecker (NuMega) 22
Developer's Studio (Microsoft Visual C++) 22
SoftICE (NuMega) 22
debugging 25, 56, 89
applications 150
dynamic link libraries (DLLs) 151
project settings 149-150
remote. See remote debugging
debugging information 150
CodeView 22, 114, 149
symbol (SYM) file 56, 89, 114, 149, 150, 151
declaration specifiers
__declspec(dllexport) 72, 73, 76
__declspec(dllimport) 74, 77
__stdcall 75, 76, 77
__declspec(dllexport) declaration specifier 72, 73, 76
__declspec(dllimport) declaration specifier 74, 77
decorated names. See names, decorated
development tools 17-22
CodeWarrior IDE (integrated development environment) 151
IDE debugger 151
MFC library 159, 163, 164
Microsoft Foundation Classes (MFC) application framework 14, 21
Microsoft resource compiler 95-96
Win32 Application Programming Interface (API) header files 21
Win32 resource compiler (RC) 19, 20, 93, 94-96
x86 back-end compiler 20, 22, 149
x86 linker 20, 22
directives supported 138
disassembler 110
.dll file type. See file types, .dll
_DllMain hook function 78
_DllMainCRTStartup entry-point function 78, 113
DLLs. See dynamic link libraries
documentation
C Compilers Reference 13, 55, 67, 68, 73, 74, 75, 77, 79, 87, 88, 150
IDE User Guide 13, 47, 55, 56, 57, 61, 68, 69, 71, 79, 88, 89, 90, 96, 110
Microsoft Win32 Reference 94, 164
MSL C Reference 13, 159, 160
MSL C++ Reference 13, 159, 160
documentation architecture 11
double size 125
dynamic link libraries (DLLs) 20, 22, 61, 103
creating 71-80
debugging 151
defined 71
entry-point function 77-78, 113
exported names 72-77
exporting names 72-73
hook function 78
importing names 74
initialization 77-78, 160
linker files 72
name transformations 74-77

E

editing code 24
See also IDE User Guide
Entry Point Usage option, x86 Linker panel 112
Entry Point Usage setting 78, 79
entry-point functions
console applications 113
dynamic link libraries (DLLs) 77-78, 113
Windows GUI applications 113
exception handling 161-162
.exe file type. See file types, .exe
executable files 20, 22, 71, 103
exp 146
EXPORT 73, 76
/EXPORT linker command 73, 76
exported names 72-77
C/C++ name 73, 74, 75, 76
exporting 72-73
external name 75, 75-77
importing 74
library name 75, 75-77
linker name 74, 76
extern keyword 74
external names 75, 75-77

F

fabs 146
File Name option, x86 Target panel 104
file types
.dll 20, 72, 79
.exe 20
.lib 20, 72
.obj 20
.rc 93
.res 93
files
application. See executable
debugger symbols (SYM) 56, 89, 114, 149, 150, 151
DLL linker files 72
executable 20, 22, 71, 103
library 20, 103
linker commands 20, 73, 114
Microsoft formats 22
Portable Executable (PE) format 20
resource 22, 93
resource script 93, 94
types. See file types
Win32 API headers 21
float size 125
floating point formats for x86 125
floating-point formats 125
function-calling conventions 22
functions, library. See library functions

G

-g 212
GDI32.LIB library 162
Generate CV Info option, x86 Linker panel 114
Generate CV Info setting 108
Generate Link Map option, x86 Linker panel 114
Generate SYM File option, x86 Linker panel 114
Generate SYM File setting 56, 89, 150
Global Preferences
Debugger 150

H

header files
MFCHeaders 163
hook function 78
HTML. See Hypertext Markup Language
Hypertext Markup Language (HTML) 13

I

IDE described 17
IDE User Guide 13, 47, 55, 56, 57, 61, 68, 69, 71, 79, 88, 89, 90, 96, 110
inheritance
multiple 23
single 22
initialization
applications 160
C/C++ run-time library 78, 112, 160
dynamic link libraries (DLLs) 77-78, 160
inline assembler
asm blocks 137
comments 139
instructions 133, 134
labels 139
local variables 140
preprocessor use 140
using for x86 133-147
Inline Intrinsic Functions option, x86 CodeGen panel 109
Installer, CodeWarrior 155
instruction scheduling optimization 129
Instruction Scheduling option, x86 CodeGen panel 108
int size 125
integer formats 124
integer formats for x86 124
intrinsics 142

K

k63d 172
KERNEL32.LIB library 162

L

labels in inline assembler 139
.lib file type. See file types, .lib
libraries
68K 57, 90
ANSICPPX86.LIB 160
Ansicx86.lib 160
ANSI-standard 159
C/C++ run-time 78, 112, 160, 161
dynamic. See dynamic link libraries (DLLs)
GDI32.LIB 162
KERNEL32.LIB 162
Metrowerks Standard Libraries (MSL). See Metrowerks Standard Libraries
MFC 159, 163, 164
MFC.LIB 163, 164
MWCRTL.lib 78
MWCRTLD.lib 78
standard for Win32/x86 159-164
static. See static libraries
USER32.LIB 162
version number 114
Win32 API 159, 162-163
library files 20, 103
library functions, MSL 164
library names 75, 75-77
Link Order 182
link order 131
linker
.a files 131
.o files 131
described 20
for x86 131
multiply defined symbols 131
other documentation 123
linker. See CodeWarrior, x86 linker
linker command file 20, 73, 114
linker commands
/EXPORT 73, 76
linker names 74, 76
Linker option, Target Settings panel 101
linking 25, 56, 69, 89
See also IDE User Guide
local variables in inline assembler 140
log 146
log10 146
long double size 125
long long size 125
long size 125

M

MacBinarize Post Linker 186
Machine Code Listing option, x86 CodeGen panel 110
_main function 113
_mainCRTStartup entry-point function 113
Make command 56, 69, 89
makefiles 24
mangled names 75
mangled names. See names, mangled
memchr 143
memcmp 143
memcpy 143
memmove 143
memset 143
menu commands
Add Files 160
Make 56, 69, 89
message map 38
code example 38
Metrowerks Standard Libraries (MSL) 159-162, 164
exception handling 161-162
file and memory restrictions 161
Metrowerks Standard LibrariesþþSee MSL
MFC. See development tools, Microsoft Foundation Classes application framework
MFC.LIB library 163, 164
MFCHeaders header file 163
Microsoft Corporation
CodeView debugging information 22, 114, 149
Common Object File Format (COFF) 20, 22, 23
compatibility with software 22-23, 95-96
compilers 22
exported-name conventions 72
file formats 22
linker 22
MFC library 159, 163, 164
Microsoft Foundation Classes (MFC) application framework 14, 21
Object Linking and Embedding (OLE) programming model 22
Portable Executable (PE) file format 20, 22
resource compiler 95-96
resource files 22
Visual C++ 22, 23
Visual C++ Developer's Studio 22
Win32 API libraries 159, 162-163
Win32 Application Programming Interface (API) 14, 21, 162
Win32 Reference 94, 164
Windows graphical user interface (GUI) 113
Windows operating system 21
Microsoft Foundation Class
header file 33
member functions 39
Microsoft Foundation Classes (MFC). See development tools, Microsoft Foundation Classes application framework
Microsoft Win32 Reference 94, 164
mmx 172
mode switching 167
modifying
target settings 97-98
MSL
described 21
See also MSL C Reference, MSL C++ Reference
MSL. See Metrowerks Standard Libraries
MSL C Reference 13, 159, 160
MSL C++ Reference 13, 159, 160
multiple inheritance 23
multiple symbols and linker 131
MWCRTL.lib library 78
MWCRTLD.lib library 78

N

Name option, x86 Linker panel 113
Name setting (x86 Linker) 78
names
decorated 75
exported 72-77
exporting 72-73
importing 74
mangled 22, 75, 76
transformations 74-77
Network control panel (Windows) 154
New Project window 80
number formats
floating-point 125
for x86 124-125
integers 124
NuMega Technologies, Inc.
BoundsChecker debugger 22
SoftICE debugger 22

O

.obj file type. See file types, .obj
object libraries 22
Object Linking and Embedding (OLE) programming model 22
object modules 20, 22
OLE. See Object Linking and Embedding programming model
optimizing
for x86 128-130
instruction scheduling 129
register coloring 128
Output Directory option, Target Settings panel 102

P

PATH environment variable 79, 162
PE. See Portable Executable file format
picking a target 99
plugins
batch files 179
Portable Executable (PE) file format 20, 22
Post-Linker option, Target Settings panel 102
pow 146
pragma
c9x 173
k63d 172
mmx 172
pragma float_constants 173
pragmas
AMD K6 172
pragmas (C/C++)
sym 150
preference settings
Automatically launch applications when SYM file opened 150
Preferences window 155
Pre-Linker option, Target Settings panel 102
preprocessing 26
See also IDE User Guide
preprocessor, using in inline assembler 140
Program Arguments 152
Program Arguments option, Debugger Runtime Settings panel 118
project stationery 80, 98, 163
Project Type option, x86 Target panel 103
Project Type setting 54, 66, 78, 86
project window 150
projects
building 56, 69, 89
compiling 56, 69, 89
creating 48-57
debugging 56, 89
linking 56, 69, 89

R

Ray tracing 27
RC. See CodeWarrior, Win32 resource compiler
register coloring optimization 128
register variables for x86 127
registers
variables 128
Remote Debugging 153-157
remote debugging 19, 153, 153-157
communications nub 19
configuring host (MacOS) system 155-157
configuring target (Win32/x86) system 153-157
network (TCP/IP) connection 154
Remote IP Address 156
Remove option, Debugger Runtime Settings panel 118, 153
requirementsþþSee system requirements
Reserved Heap Size option, x86 Target panel 104
Reserved Stack Size option, x86 Target panel 104
resource compiler (RC). See CodeWarrior, Win32 resource compiler
resource files 22, 93
resource scripts 93, 94
statements 94-95
resources, creating 93-96
run-time library. See libraries, C/C++ run-time
Runtime Settings
debugger 151

S

Save Project Entries, Target Settings panel 102
selecting a target 99
serial connection 19
settings panels
Debugger 119-121
Debugger Runtime 117-119
for x86 99-121
selecting 98
Target Settings panel 99-102
x86 Linker 111-114
x86 Processor 105-110
x86 Target 102-104
See also target settings
short double size 125
short size 125
signed char size 125
sin 145
single inheritance 22
SoftICE debugger (NuMega) 22
sqrt 146
static libraries 71, 103
creating 61-69
defined 61
and DLLs 72, 74
standard for Win32/x86 159
stdcall conventions 173
__stdcall declaration specifier 75, 76, 77
strcmp 144
strcpy 144
strlen 144
SubSystem option, x86 Linker panel 113
SubSystem setting 113
SubSystemID option, x86 Linker panel 113
-sym 213
SYM Format option, x86 CodeGen panel 108
SYM Format setting 56, 89, 150
sym pragma 150
symbol (SYM) file, debugger 56, 89, 114, 149, 150, 151
symbols
multiple linker 131
system requirements 15-16

T

tan 146
Target Name option, Target Settings panel 101
Target Processor option, x86 CodeGen panel 106
target settings 97-121
Command File 73
debugging 151-152
dialog box 97
Entry Point Usage 78, 79
Generate CV Info 108
Generate SYM File 56, 89, 150
modifying 97-98
Name (x86 Linker) 78
overview 97-98
Project Type 54, 66, 78, 86
SubSystem 113
SYM Format 56, 89, 150
See also settings panels
Target Settings dialog box 97
Target settings dialog box 53, 65, 85
Target Settings panel 54, 66, 86, 99-102
target settings panels
Access Paths 96
C/C++ Language 54, 67, 87
Target Settings 54, 66, 86
x86 CodeGen 114, 150
x86 Linker 56, 73, 78, 79, 89, 108, 149, 150
x86 Processor 56, 89, 149
x86 Target 54, 66, 78, 86
target settings window 53, 65, 85
target, selecting a 99
TCP/IP control panel (Mac OS) 154
TCP/IP network protocol 19, 153, 154, 156
Tutorial
CodeWarrior 27-45
Win32 27
Tutorials, CodeWarrior 13
two-machine debugger 153

U

unsigned char size 125
unsigned int size 125
unsigned long size 125
unsigned short size 125
Use MMX/3DNow! Calling Convention 166
USER32.LIB library 162
UserID option, x86 Linker panel 114

V

Value option, Debugger Runtime Settings panel 118, 153
variable allocation for x86 127
Variable option, Debugger Runtime Settings panel 118, 153
variables
register 128
vectorization 167
version numbers
applications 114
libraries 114
Visual C++ (Microsoft) 22, 23
Developer's Studio 22

W

wcscmp 145
wcscpy 145
wcslen 145
Win32 Application Programming Interface (API) 14, 21, 162
software development libraries 159, 162-163
Win32 resource compiler (RC). See CodeWarrior, Win32 resource compiler
Win32/x86
registers 128
windows
New Project 80
Preferences 155
project 150
target settings 53, 65, 85
Windows operating system 21
graphical user interface (GUI) 113
_WinMain function 113
_WinMainCRTStartup entry-point function 113
wmemchr 144
wmemcmp 144
wmemcpy 144
wmemmove 144
wmemset 144
Working Directory 152
Working Directory option, Debugger Runtime Settings panel 118
_wWinMain function 113

X

x86 CodeGen panel 114, 150
x86 linker. See CodeWarrior, x86 linker
x86 Linker panel 56, 73, 78, 79, 89, 108, 149, 150
x86 Processor panel 56, 89, 149
x86 Target panel 54, 66, 78, 86
x86 Linker panel 111-114
x86 Processor panel 105-110
x86 settings panelsþþSee settings panels
x86 Target panel 102-104


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: July 21, 2000