SW006012 Microchip Technology, SW006012 Datasheet - Page 44

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
DS51284F-page 38
®
C30 User’s Guide
3.5.3
The following options define the kind of C dialect used by the compiler.
TABLE 3-4:
-ansi
-aux-info filename
-ffreestanding
-fno-asm
-fno-builtin
-fno-builtin-function
-fsigned-char
-fsigned-bitfields
-funsigned-bitfields
-fno-signed-bitfields
-fno-unsigned-bitfields
-funsigned-char
-fwritable-strings
Options for Controlling the C Dialect
Option
C DIALECT CONTROL OPTIONS
Support all (and only) ANSI-standard C programs.
Output to the given filename prototyped declarations for all
functions declared and/or defined in a translation unit,
including those in header files. This option is silently
ignored in any language other than C. Besides
declarations, the file indicates, in comments, the origin of
each declaration (source file and line), whether the declara-
tion was implicit, prototyped or unprototyped (I, N for new
or O for old, respectively, in the first character after the line
number and the colon), and whether it came from a
declaration or a definition (C or F, respectively, in the
following character). In the case of function definitions, a
K&R-style list of arguments followed by their declarations is
also provided, inside comments, after the declaration.
Assert that compilation takes place in a freestanding
environment. This implies -fno-builtin. A freestanding
environment is one in which the standard library may not
exist, and program startup may not necessarily be at main.
The most obvious example is an OS kernel. This is
equivalent to -fno-hosted.
Do not recognize asm, inline or typeof as a keyword,
so that code can use these words as identifiers. You can
use the keywords
__
-ansi implies -fno-asm.
Don't recognize built-in functions that do not begin with
__
Let the type char be signed, like signed char.
(This is the default.)
These options control whether a bit field is signed or
unsigned, when the declaration does not use either signed
or unsigned. By default, such a bit field is signed, unless
-traditional is used, in which case bit fields are always
unsigned.
Let the type char be unsigned, like unsigned char.
Store strings in the writable data segment and don’t make
them unique.
typeof
builtin_ as prefix.
__
instead.
__
asm
Definition
__
,
© 2007 Microchip Technology Inc.
__
inline
__
and

Related parts for SW006012