Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

15.1. Nios II Software Build Tools Utilities

The build tools utilities are an entry point to the Nios II SBT. Everything you can do with the tools, such as specifying settings, creating makefiles, and building projects, is made available by the utilities.

All Nios II SBT utilities share the following behavior:

  • Sends error messages and warning messages to stderr.
  • Sends normal messages (other than errors and warnings) to stdout.
  • Displays one error message for each error.
  • Returns an exit value of 1 if it detects any errors.
  • Returns an exit value of 0 if it does not detect any errors. (Warnings are not errors.)
  • If the help or version command-line option is specified, returns an exit value of 0, and takes no other action. Sends the output (help or version number) to stdout.
  • When an error is detected, suppresses all subsequent operations (such as writing files).