Specifications

Related Information
Nios II Software Build Tools on page 4-1
For more information about the legacy and enhanced APIs, refer to "Exception Handling".
Software Build Tools Path Names
There are some restrictions on how you can specify file paths when working with the Nios II SBT. The
tools are designed for the maximum possible compatibility with a variety of computing environments. By
following the restrictions in this section, you can ensure that the build tools work smoothly with other
tools in your tool chain.
Command Arguments
Many Nios II software build tool commands take file name and directory path arguments. You can
provide these arguments in any of several supported cross-platform formats. The Nios II SBT supports
the following path name formats:
Quoted Windows—A drive letter followed by a colon, followed by directory names delimited with
backslashes, surrounded by double quotes. Example of a quoted Windows absolute path:"c:\altera
\72\nios2eds\examples\verilog\niosII_cyclone_1c20\standard"
Quoted Windows relative paths omit the drive letter, and begin with two periods followed by a
backslash. Example:
"..\niosII_cyclone_1c20\standard"
Escaped Windows—The same as quoted Windows, except that each backslash is replaced by a double
backslash, and the double quotes are omitted. Examples:c:\\altera\\72\\nios2eds\\examples\
\verilog\\niosII_cyclone_1c20\\standard ..\\niosII_cyclone_1c20\\standard
Linux—An optional forward slash, followed by directory names delimited with forward slashes.
Examples:/altera/72/nios2eds/examples/verilog/niosII_cyclone_1c20/standard
verilog/niosII_cyclone_1c20/standard
Linux relative paths begin with two periods followed by a forward slash. Example:
../niosII_cyclone_1c20/standard
Mixed—The same as quoted Windows, except that each backslash is replaced by a forward slash, and
the double quotes are omitted. Examples:c:/altera/72/nios2eds/examples/verilog/
niosII_cyclone_1c20/standard../niosII_cyclone_1c20/standard
Cygwin—An absolute Cygwin path consists of the pseudo-directory name
"/cygdrive/", followed by the lower case Windows drive name, followed by directory names
delimited with forward slashes. Example:/cygdrive/c/altera/72/nios2eds/examples/verilog/
niosII_cyclone_1c20/standard
Cygwin relative paths are the same as Linux relative paths. Example:
../niosII_cyclone_1c20/standard
The Nios II SBT accepts both relative and absolute path names.
NII5V2
2015.05.14
Software Build Tools Path Names
15-107
Nios II Software Build Tools Reference
Altera Corporation
Send Feedback