Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
1183 Discussions

Help Needed: Error "nios2-elf-as.exe: not found" while Assembling Nios II Program

csnsssn
New User
101 Views

Hello everyone,

I'm encountering an issue while trying to assemble a Nios II program using the Nios II Command Shell. The specific error message I receive is:

 

```

nios2-elf-as.exe --gstabs -I "C:/intelFPGA_lite/21.1/nios2eds/components/altera_nios2/sdk/inc/" simple_program.s -o simple_program.s.o
/bin/sh: 1: nios2-elf-as.exe: not found
make: *** [amp.mk:79: simple_program.s.o] Error 127

```

 

I'm not sure if there's a specific step I'm missing or if there's an issue with my environment setup.

Could someone please guide me on how to resolve this issue? Any suggestions or insights would be greatly appreciated.

Thank you in advance for your help!

Labels (1)
0 Kudos
1 Reply
aikeu
Employee
32 Views

Hi csnsssn,


Did you run the Nios II command shell first in your terminal?

You can find the Nios II Command Shell.bat in the Nio2eds folder in your quartus installation file.


Thanks.

Regards,

Aik Eu


0 Kudos
Reply