Forum Discussion

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

gcc compiler

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.

1 Reply

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

    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