Software

Specifying C/C++ Compiler Settings



To specify software toolset C/C++ compiler settings:

NOTE You can also specify these software build settings with the Software Build Settings wizard.

  1. Create a new project or open an existing project.

  2. If you have not already done so, specify the directory for the ADS Standard Tools, GNUPro for ARM®, or GNUPro for Nios® software toolset.

  3. Specify software build settings.

  4. Choose Settings (Assignments menu). Shortcut

  5. In the Category list, select CPU under Software Build Settings.

  6. In the Software toolset list, select ADS Standard Tools, GNUPro for ARM, or GNUPro for Nios.

  7. In the Category list, select C/C++ Compiler.

  8. Under Optimization, select an optimization level in the Level list.

  9. Under Optimization, select an optimization goal in the Goal list.

  10. In the Preprocessor definitions box, type any preprocessor definitions you want the Software Builder to use on C Source Files (.c) and C++ Source Files (.c) before compiling the files.

  11. In the Additional include directories box, type the names of any directories, other than the standard include directories, that you want the C/C++ compiler to search for include files.

  12. If you do not want the C/C++ compiler to search standard include directories for include files, turn on Ignore standard include directories.

  13. Specify settings for debugging the Binary File (.bin), Hexadecimal (Intel-Format) File (.hex), or Motorola S-Record File (.srec) that you are generating using the C/C++ compiler.

  14. If you do not want the C/C++ compiler to generate warnings during the software build, turn on Suppress warnings.

  15. In the Command-line options box, type any additional options you want the C/C++ compiler to use during the software build.

  16. Click OK.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.