Forum Discussion
Altera_Forum
Honored Contributor
14 years agoIt appears to me that the compiler flag causing the issue, "-mno-cache-volatile", is indeed being passed directly to nios2-elf-gcc by the Altera Monitor Program software.
The only solution I could find was to install the Nios II legacy tool located here: https://www.altera.com/download/software/nios-ii The Nios II legacy tool installs GCC3 as well as some other "legacy" software. This eliminates the problem of the "-mno-cache-volatile" parameter by using a version of GCC that still supports it.