
CodeWarrior Development Studio for Microcontrollers V10.x RS08 Build Tools Reference Manual Document Number: CWMCURS08CMPREF Rev 10.6, 01/2014 CodeWarrior Development Studio for Microcontrollers V10.x RS08 Build Tools Reference Manual, Rev. 10.6, 01/2014 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Overview 1.1 Accompanying Documentation..................................................................................................................................49 1.2 Additional Information Resources..............................................................................................................................50 Chapter 2 Using Compiler Chapter 3 Introduction 3.1 Compiler Environment................................................................................................................................................53 3.1.1 Designing a Project....................................................................................................................................54 3.2 Creating and Managing Project Using CodeWarrior IDE..........................................................................................54 3.2.1 Creating Project Using New Bareboard Project Wizard............................................................................55 3.2.2 Analysis of Groups in CodeWarrior Projects View...................................................................................58 3.2.3 Analysis of Files in CodeWarrior Projects View.......................................................................................60 3.3 Using Standalone Compiler........................................................................................................................................62 3.3.1 Configuring Compiler................................................................................................................................62 3.3.1.1 Selecting Input Files.................................................................................................................66 3.3.1.2 Compiling C Source Code Files...............................................................................................67 3.4 Build Tools (Application Programs)...........................................................................................................................76 3.5 Startup Command-Line Options.................................................................................................................................76 3.6 Highlights....................................................................................................................................................................77 3.7 CodeWarrior Integration of Build Tools.....................................................................................................................78 3.7.1 Combined or Separated Installations.........................................................................................................78 3.7.2 RS08 Compiler Build Settings Panels.......................................................................................................78 3.7.2.1 RS08 Compiler.........................................................................................................................79 3.7.2.2 RS08 Compiler > Output.........................................................................................................80 3.7.2.3 RS08 Compiler > Output > Configure Listing File.................................................................81 3.7.2.4 RS08 Compiler > Output > Configuration for list of included files in make format...............82 CodeWarrior Development Studio for Microcontrollers V10.x RS08 Build Tools Reference Manual, Rev. 10.6, 01/2014 Freescale Semiconductor, Inc. 3 Section number Title Page 3.7.2.5 RS08 Compiler > Input............................................................................................................83 3.7.2.6 RS08 Compiler > Language.....................................................................................................87 3.7.2.7 RS08 Compiler > Language > CompactC++ features.............................................................88 3.7.2.8 RS08 Compiler > Host.............................................................................................................89 3.7.2.9 RS08 Compiler > Code Generation.........................................................................................89 3.7.2.10 RS08 Compiler > Messages.....................................................................................................90 3.7.2.11 RS08 Compiler > Messages > Disable user messages.............................................................92 3.7.2.12 RS08 Compiler > Preprocessor................................................................................................93 3.7.2.13 RS08 Compiler > Type Sizes...................................................................................................95 3.7.2.14 RS08 Compiler > General........................................................................................................96 3.7.2.15 RS08 Compiler > Optimization...............................................................................................96 3.7.2.16 RS08 Compiler > Optimization > Mid level optimizations.....................................................98 3.7.2.17 RS08 Compiler > Optimization > Mid level branch optimizations.........................................98 3.7.2.18 RS08 Compiler > Optimization > Tree optimizer...................................................................99 3.7.2.19 RS08 Compiler > Optimization > Optimize Library Function................................................100 3.7.3 CodeWarrior Tips and Tricks....................................................................................................................101 3.8 Integration into Microsoft Visual C++ 2008 Express Edition (Version 9.0 or later).................................................101 3.8.1 Integration as External Tools.....................................................................................................................102 3.8.2 Integration with Visual Studio Toolbar.....................................................................................................103 3.9 Object-File Formats....................................................................................................................................................105 3.9.1 ELF/DWARF Object-File Format.............................................................................................................105 3.9.2 Mixing Object-File Formats.......................................................................................................................105 Chapter 4 Graphical User Interface 4.1 Launching Compiler...................................................................................................................................................107 4.1.1 Interactive Mode........................................................................................................................................108 4.1.2 Batch Mode................................................................................................................................................108 4.2 Compiler Main Window.............................................................................................................................................109 4.2.1 Window Title.............................................................................................................................................110 CodeWarrior Development Studio for Microcontrollers V10.x RS08 Build Tools Reference Manual, Rev. 10.6, 01/2014 4 Freescale Semiconductor, Inc. Section number Title Page 4.2.2 Content Area..............................................................................................................................................110 4.2.3 Toolbar.......................................................................................................................................................111 4.2.4 Status Bar...................................................................................................................................................112 4.2.5 Compiler Menu Bar...................................................................................................................................113 4.2.6 File Menu...................................................................................................................................................113 4.2.7 Compiler Menu..........................................................................................................................................115 4.2.8 View Menu.................................................................................................................................................115 4.2.9 Help Menu..................................................................................................................................................116 4.3 Editor Settings Dialog Box.........................................................................................................................................117 4.3.1 Global Editor (shared by all tools and projects)........................................................................................117 4.3.2 Local Editor (shared by all tools)...............................................................................................................118
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages1025 Page
-
File Size-