Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

NIOS II IDE and "unrecognised command"

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

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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