Specifications
For more information, refer to the “GNU Compiler Tool Chain” chapter.
For more information about launching the Nios II Command Shell, refer to the "Getting Started from the
Command Line" chapter.
The Nios II Command-Line Commands
This section describes the Altera Nios II command-line tools. You can run these tools from the Nios II
Command Shell.
Each tool provides its own documentation in the form of help accessible from the command line. To view
the help, open the Nios II Command Shell, and type the following command:<name of tool> --help
GNU Compiler Tool Chain
The Nios II compiler tool chain is based on the standard GNU GCC compiler, assembler, linker, and
make facilities. Altera provides and supports the standard GNU compiler tool chain for the Nios II
processor.
The Nios II EDS includes version GCC 4.7.3 of the GCC toolchain.
For more information about installing the Altera Complete Design Suite, refer to the Altera Software
Installation and Licensing Manual.
GNU tools for the Nios II processor are generally named nios2-elf-<tool name>. The following list shows
some examples:
• nios2-elf-gcc
• nios2-elf-as
• nios2-elf-ld
• nios2-elf-objdump
• nios2-elf-size
The exception is the make utility, which is simply named make.
The Nios II GNU tools reside in the following location:
• <Nios II EDS install path>/bin/gnu directory
Refer to the following additional sources of information:
• For more information about managing GCC toolchains in the SBT for Eclipse— “Managing
Toolchains in Eclipse” in the "Getting Started with the Graphical User Interface" chapter.
• For more information about selecting the toolchain on the command line—the "Getting Started from
the Command Line" chapter.
• For more information about a comprehensive list of Nios II GNU tools—the GNU HTML documenta‐
tion, refer to the Nios II Embedded Design Suite Support page on the Altera website.
• For more information about GNU, refer to the Free Software Foundation website.
Related Information
• Overview of Nios II Embedded Development on page 1-1
• Getting Started with the Graphical User Interface on page 2-1
• Getting Started from the Command Line on page 3-1
• Altera Software Installation and Licensing
• GNU website
4-44
The Nios II Command-Line Commands
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools
Send Feedback