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 Guide2.6.4 Which Multilib Directory Are Selected?This section looks at examples and provide details on which of the multilibssubdirectories are chosen.1. pic32-gcc foo.cFor this example, no command line options have been specified (i.e., the defaultcommand line options are being used). In this case, the . subdirectories areused.2. pic32-gcc -Os foo.cFor this example, the command line option for optimizing for size has beenspecified (i.e., -Os is being used). In this case, the ./size subdirectories areused.3. pic32-gcc -O2 foo.cFor this example, the command line option for optimizing has been specified,however, this command line option optimizes for neither size nor space (i.e., -O2is being used). In this case, the . subdirectories are used.4. pic32-gcc -Os -mips16 foo.cFor this example, the command line options for optimizing for size and forMIPS16 code have been specified (i.e., -Os and -mips16 are being used). Inthis case, the ./size/mips16 subdirectories are used.DS51686A-page 46© 2007 Microchip Technology Inc.

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

Saved successfully!

Ooh no, something went wrong!