MPLAB ? C32 C Compiler User’s Guide
1.6
PREDEFINED MACROS
1.6.1
MPLAB C32 C Compiler Macros
MPLAB C32 C compiler defines a number of macros, most with the prefix “ _MCHP_ ,”
which characterize the various target specific options, the target processor and other
aspects of the host environment.
_MCHP_SZINT
_MCHP_SZLONG
_MCHP_SZPTR
__mchp_no_float
__NO_FLOAT
__SOFT_FLOAT
__PIC__
__pic__
__PIC32MX
__PIC32MX__
PIC32MX
__LANGUAGE_ASSEMBLY
__LANGUAGE_ASSEMBLY__
_LANGUAGE_ASSEMBLY
LANGUAGE_ASSEMBLY
__LANGUAGE_C
__LANGUAGE_C__
_LANGUAGE_C
LANGUAGE_C
__ processor __
32 or 64, depending on command line options
to set the size of an integer (-mint32
-mint64) .
32 or 64, depending on command line options
to set the size of an integer (-mlong32
-mlong64) .
32 always since all pointers are 32 bits.
Defined if -mno-float specified.
Defined if -mno-float specified.
Defined if -mno-float not specified.
Indicates that floating-point is supported via
library calls.
The translation unit is being compiled for
position independent code.
Always defined.
Defined if -ansi is not specified.
Defined if compiling a pre-processed
assembly file (.S files).
Defined if compiling a pre-processed
assembly file (.S files) and -ansi is not
specified.
Defined if compiling a C file.
Defined if compiling a C file and -ansi is not
specified.
Where “processor” is the capitalized argument
to the -mprocessor option. E.g.,
-mprocessor=32mx12f3456 will define
__32MX12F3456__ .
1.6.2
SDE Compatibility Macros
The MIPS ? SDE (Software Development Environment) defines a number of macros,
most with the prefix “_MIPS_,” which characterize various target specific options, some
determined by command line options (e.g., -mint64 ). Where applicable, these
macros will be defined by the MPLAB C32 C compiler in order to ease porting
applications and middleware from the SDE to MPLAB C32 C compiler.
DS51686A-page 10
_MIPS_SZINT
_MIPS_SZLONG
_MIPS_SZPTR
__mips_no_float
32 or 64, depending on command line options
to set the size of an integer ( -mint32
-mint64 ).
32 or 64, depending on command line options
to set the size of an integer ( -mlong32
-mlong64 ).
32 always since all pointers are 32 bits.
Defined if -mno-float specified.
? 2007 Microchip Technology Inc.
相关PDF资料
SW300003-EVAL LIBRARY SOFT MODEM-EVAL ONLY
SW300010-EVAL SPEECH RECOG LIBRARY-EVAL ONLY
SW300040-EVAL LIBRARY NOISE SUPPR-EVAL ONLY
SW300060-EVAL LIBRARY ACOUSTIC ECHO-EVAL ONLY
SW300070-EVAL SOFTWARE LIBR ENC/DEC EVAL ONLY
SW500012 HI-TECH C PRO FOR PIC32
SY87701LHI-EVAL BOARD EVAL SY87701 EXPERIMENT
SY87729LHI-EVAL BOARD EVAL N SY87729 EXPERIMENT
相关代理商/技术参数
SW006021-1 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI C Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC; Software Edition:Standard
SW006021-1N 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER (F 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler (Fltng Lic)
SW006021-2 制造商:Microchip Technology 功能描述:MPLAB XC8 PRO COMPILER WORKSTATION LICENSE 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, PRO 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI PRO Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO Compiler 制造商:Microchip Technology Inc 功能描述:SOFTWARE TOOL, MPLAB XC8 PRO COMPILER; Core Architecture:PIC; Supported Families:PIC10, PIC16, PIC18; Software Edition:Linux; License Type:Floating - node; No. of User Licenses:1; Supported Hosts:-
SW006021-2C 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO CHI
SW006021-2N 功能描述:开发软件 MPLAB XC8 PRO Compiler (Fltng Lic) RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
SW006022-1 制造商:Microchip Technology 功能描述:MPLAB XC16 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 STANDARD COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC16, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 Standard Compiler (Workstation License) 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC, dsPIC; Software Edition:Standard
SW006022-1N 制造商:Microchip Technology 功能描述:MPLAB XC16 STANDARD COMPILER ( 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 Standard Compiler (Fltng Lic)
SW006022-2 功能描述:开发软件 MPLAB XC16 PRO Compiler RoHS:否 制造商:Microchip Technology 产品: 用于: