Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12698 Discussions

NIOS II IDE and "unrecognised command"

Altera_Forum
Honored Contributor II
1,167 Views

When building, I get the error line: 

Error: unrecognised instruction ld[/cygdrive/c/DOCUME~1/ROBERT~1/LOCALS~1/Temp/ccOxWZfc.s] nscan2 line 3371 

 

How do you know what is wrong in this temp file that no longer exists when the build is done? 

 

thanx
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
472 Views

Never seen that before. Try re-installing the NIOS software (that seems to fix some problems).

0 Kudos
Altera_Forum
Honored Contributor II
472 Views

The -save-temps option to gcc tells it not to delete the temporary files. 

 

You will need to run make from the command line to find out what the command line is and then run gcc again after adding that option.
0 Kudos
Altera_Forum
Honored Contributor II
472 Views

Thanks wombat. I did what you recommended and finally saw that the problem was an embedded assembly for NIOSI which does not assemble in NIOSII. Fixed the problem and moved on to more bugs. 

 

thanx again
0 Kudos
Reply