Forum Discussion

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

gcc path not found

Hi all,

i am new to altera.

plz help us to resolved m issue.

in nios II building time C++ and gcc path not found ??

what to do ??

3 Replies

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

    You need to use the Nios II command shell. Windows Start button->All Programs->Altera <version>->Nios II EDS <version>->Nios II <version> Command Shell.

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

    Hi,

    i am new for this, i don't know how to use this.

    plz tell me another option for this.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You haven't provided enough details on your problem. I assume you are trying to build software for nios2 using the command line. You need to start the nios II command shell as shown in my previous post. Because this is a cross compiler, you don't use ordinary gcc, your commands for building all start with nios2-elf. For example nios2-elf-gcc, nios2-elf-ld, etc. There are plenty of tutorials on the Altera web site. Make sure you read the Nios2 EDS developers guide. I think chapter 4 has command line information.