Article ID: 000074642 Content Type: Troubleshooting Last Reviewed: 08/23/2012

Why does nios2-elf-gcc utility not understand the "cygwin path name format" on Windows with Cygwin?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

This is a known issue with Nios® II EDS software versions 10.0,10.1,11.0 and 11.1 using GCC 4 tool chain.

Here are the example of error messages:
nios2-elf-gcc.exe: /cygdrive/d/test/hello.c: No such file or directory
nios2-elf-gcc.exe: no input files

This will be fixed in future version of Quartus II software.

Resolution (a) Use GCC 3 tool chain if available
In the Windows operating system, on the Start menu,
point to Programs -> Altera -> Nios II EDS <version>  ->  Legacy Nios II Tools
and click Nios II <version> Command Shell [gcc3]
OR
(b) Use other path name formats like Quoted Windows, Escaped Windows, or Mixed.
For example, the hello.c file resides in D:\testDir directory
// Quoted Windows
nios2-elf-gcc "D:\testDir\hello.c"
// Escaped Windows
nios2-elf-gcc D:\\testDir\\hello.c
// Mixed
nios2-elf-gcc D:/testDir/hello.c

Related Products

This article applies to 1 products

Intel® Programmable Devices