Forum Discussion

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

nios2-elf-objcopy: command not found

who can help me with the problem below:

[root@localhost uClinux-dist]# nios2-download -g ../3c120_default/linux.initramfs.gz

/opt/altera9.1/nios2eds/bin/nios2-download: line 586: nios2-elf-objcopy: command not found

how can i solve this problem~~ thanks!

2 Replies

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

    you can use the "locate " to find the command ,and add the path to the env PATH. wish this may help

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

    You have to find where the nios2-elf-objcopy lives. and add that directory to path (for bash : 'export PATH=$PATH:/absolute/path/to/directory' )

    For my system its in

    $nios2edsrootdir$/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin/nios2-elf-objcopy