Specifications
Table 15-6: Path Name Format Support for Nios II SBT utilities and makefiles
Context Formats supported on Linux
(16)
Formats supported on Windows
with Cygwin
Utilities and
scripts
Linux
• Quoted Windows
(17)
• Mixed
• Escaped Windows
• Cygwin
Makefiles Linux
• Mixed
(18)
• Cygwin
Object File Directory Tree
The makefile created by the Nios II SBT creates a new directory tree for generated object files. To the
extent possible, the object file directory tree retains the structure of the corresponding source directory.
For example, if you specify the path to a source file as
src/util/special/tools.c
the makefile places the corresponding object code in
obj/util/special/tools.o
The makefile does not create object directories outside the project directory root. If the source file path
you specify is a relative path beginning with "..", the Nios II SBT flattens the path name prior to creating
the object directory structure.
For example, if you specify the path to a source file as
../special/tools.c
the makefile places the corresponding object code in
obj/tools.o
If you specify an absolute path to source files under Cygwin, the Nios II SBT creates the obj directory
structure as if you had used the Cygwin form of the path name. For example, if you specify the path to a
source file as
c:/dev/app/special/tools.c
the Nios II SBT places the corresponding object code in
obj/cygdrive/c/dev/app/special/tools.o
Related Information
Nios II Embedded Software Projects on page 4-4
For more information about the object file directory structure.
(16)
These rules apply to any Unix-like platform.
(17)
These rules apply to other Unix-like shells running on Windows. The Nios II Command Shell, provided
with the Nios II EDS, is based on Cygwin. Examples in this chapter are designed for the Nios II
Command Shell.
(18)
The build tools automatically convert path names to Cygwin format.
15-108
Object File Directory Tree
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools Reference
Send Feedback