12.07.2015 Views

MPLAB C32 C COMPILER USER'S GUIDE

MPLAB C32 C COMPILER USER'S GUIDE

MPLAB C32 C COMPILER USER'S GUIDE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>MPLAB</strong> ® <strong>C32</strong> C Compiler User’s GuideTABLE 1-2:-membedded-data-mno-embedded-data-muninit-const-in-rodata-mno-uninit-const-in-rodata-mcheck-zero-division-mno-check-zero-division-mmemcpy-mno-memcpy-mlong-calls-mno-long-calls-mno-peripheral-libsPI<strong>C32</strong>MX DEVICE-SPECIFIC OPTIONS (CONTINUED)OptionDefinitionAllocate variables to the read-only data section first ifpossible, then next in the small data section if possible,otherwise in data. This gives slightly slower code thanthe default, but reduces the amount of RAM requiredwhen executing, and thus may be preferred for someembedded systems.Put uninitialized const variables in the read-only datasection. This option is only meaningful in conjunctionwith -membedded-data.Trap (do not trap) on integer division by zero. Thedefault is -mcheck-zero-division.Force (do not force) the use of memcpy() fornon-trivial block moves. The default is -mno-memcpy,which allows GCC to inline most constant-sizedcopies.Disable (do not disable) use of the jal instruction.Calling functions using jal is more efficient butrequires the caller and callee to be in the same 256megabyte segment.This option has no effect on abicalls code. The defaultis -mno-long-calls.Do not use the standard peripheral libraries whenlinking.DS51686A-page 16© 2007 Microchip Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!