
CodeWarrior Development Studio for Power Architecture® Processors Build Tools Reference Revised: 2 March 2012 Freescale, the Freescale logo and CodeWarrior are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. The Power Architecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org. All other product or service names are the property of their re- spective owners. © 2005-2012 Freescale Semiconductor, Inc. All rights reserved. Information in this document is provided solely to enable system and software implementers to use Freescale Semicon- ductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any inte- grated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any partic- ular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental dam- ages. “Typical” parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typ- icals”, must be validated for each customer application by customer's technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not de- signed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semi- conductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. How to Contact Us Corporate Headquarters Freescale Semiconductor, Inc. 6501 William Cannon Drive West Austin, Texas 78735 U.S.A. World Wide Web http://www.freescale.com/codewarrior Technical Support http://www.freescale.com/support Table of Contents 1 Introduction 29 Compiler Architecture . 29 Linker Architecture. 31 2 Using Build Tools with the CodeWarrior IDE 33 Choosing Tools and Files . 33 IDE Options and Pragmas. 33 IDE Settings Panels. 34 C/C++ Language Settings Panel . 34 C/C++ Preprocessor Panel . 42 C/C++ Warnings Panel . 44 3 Using Build Tools on the Command Line 49 Configuring Command-Line Tools. 49 Setting CodeWarrior Environment Variables . 49 Setting the PATH Environment Variable. 50 Invoking Command-Line Tools . 51 Getting Help . 51 Parameter Formats. 52 Option Formats . 52 Common Terms. 52 File Name Extensions . 53 4 Command-Line Options for Standard C Conformance 55 -ansi . 55 -stdkeywords . 55 -strict . 56 5 Command-Line Options for Standard C++ Conformance 57 -ARM . 57 -bool . 57 -Cpp_exceptions . 57 CodeWarrior Build Tools Reference for Power Architecture® Processors 3 Table of Contents -dialect . .58 -for_scoping. .58 -instmgr . .59 -iso_templates . .59 -RTTI . .60 -som . .60 -som_env_check . .60 -wchar_t. .60 6 Command-Line Options for Language Translation 61 -char. .61 -defaults . .61 -encoding . .62 -flag . .63 -gccext . .63 -gcc_extensions . .63 -M . .64 -make . .64 -mapcr . .64 -MM. .65 -MD . .65 -MMD . .65 -msext . .66 -once . .66 -pragma . .66 -relax_pointers . .67 -requireprotos. .67 -search . .67 -trigraphs . .68 7 Command-Line Options for Diagnostic Messages 69 -disassemble. .69 -help. .69 -maxerrors . .70 -maxwarnings . .71 4 CodeWarrior Build Tools Reference for Power Architecture® Processors Table of Contents -msgstyle . 71 -nofail . 72 -progress . 72 -S . 72 -stderr . 72 -verbose . 73 -version . ..
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages540 Page
-
File Size-