Forum Discussion

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

GNU newlib for Nios2 build fail

I build the nios2_60 source thisweek, but I got one error

always.

Build gcc was success, but the newlib fail with message:

------------------------------------------------------------------------

.

.

.

make[3]: Entering directory `/cygdrive/e/TEMP/build/newlib/nios2-elf/mno-hw

-mul/newlib'

make[3]: *** No rule to make target `all'. Stop.

make[3]: Leaving directory `/cygdrive/e/TEMP/build/newlib/nios2-elf/mno-hw-

mul/newlib'

make[2]: *** [multi-do] Error 1

make[2]: Leaving directory `/cygdrive/e/TEMP/build/newlib/nios2-elf/newlib'

make[1]: *** [all-multi] Error 2

make[1]: Leaving directory `/cygdrive/e/TEMP/build/newlib/nios2-elf/newlib'

------------------------------------------------------------------------

src download from http://nioswiki.jot.com/crossgcc (http://nioswiki.jot.com/crossgcc)

build on Win2K with Cygwin

build command with "../../src/newlib/configure --target=nios2-elf --prefix=/nios2"

The message seem like not Makefile in that there, I download the

newlib-1.14.0 & merge Nios2 support to it, but same error again.

I checked the "config-ml.in", gcc build's Makefile & newlib's, but

I do not found problem.

Can anyone tell me how to build the newlib for Nios2?

Thanks!

ps: I build that on Linux no problem now. I will check the configure script this day.
No RepliesBe the first to reply