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++

gcc compiler

Altera_Forum
Honored Contributor II
1,177 Views

Hi all:  

 

 

I want to use gcc command to compile a C program. My OS is windows XP  

I download and installed the eCos packege successfully. But when I use gcc  

xxx.c the OS prompt "-bash: gcc: command not found". Any idea why this could  

happen?  

 

 

 

 

Thanks for any idea.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
466 Views

Hi yair, 

 

> Any idea why this could happen?  

 

A Nios II cross-compiler is installed, but a native gcc isn't. Use nios2-elf-gcc. 

 

Regards, 

--Scott
0 Kudos
Reply