This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: powerpc: Incomplete configure under Cygwin?


Hello Tommi,

I just recently lost my old builds directory when I switched to FC6, but I seem to remember configuring powerpc-eabi-elf rather than powerpc-eabi. I don't build from Cygwin so I might suggest you cc the Cygwin list to see if anybody can help you there. You might also try building your tools first, then configuring/building up-to-date newlib from a seperate tree after setting your path to point to your newly built cross-tools.

-- Jeff J.

Tommi Sairo wrote:
Hi,

I'm trying to compile GCC 4.1.0 with newlib 1.14 on Cygwin host for
powerpc-eabi cross compiling target. I use binutils 2.16. Both the
1.14.0-snapshot of newlib and current CVS sources refuse to build, stopping
finally with:

make[5]: Entering directory
`/cygdrive/d/new_gcc/powerpc-eabi/build-gcc/powerpc-eabi/nof/newlib'
make[5]: *** No rule to make target `all'.  Stop.
make[5]: Leaving directory
`/cygdrive/d/new_gcc/powerpc-eabi/build-gcc/powerpc-eabi/nof/newlib'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/cygdrive/d/new_gcc/powerpc-eabi/build-gcc/powerpc-eabi/newlib'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/cygdrive/d/new_gcc/powerpc-eabi/build-gcc/powerpc-eabi/newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/cygdrive/d/new_gcc/powerpc-eabi/build-gcc/powerpc-eabi/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory `/cygdrive/d/new_gcc/powerpc-eabi/build-gcc'
make: *** [all] Error 2

The referred powerpc-eabi/nof/newlib -directory is empty, as are all other
subdirs of powerpc-eabi/nof.


I'm linking newlib- and libgloss-dirs at top level of GCC sources and
configuring from top level of GCC source with:
../${GCCDIR}/configure --disable-shared --disable-nls --with-newlib
--with-headers=../${NEWLIBDIR}/newlib/libc/include --enable-multilib
--enable-interwork --enable-languages=c,c++ --with-float=soft
--target=${TARGET} --prefix=${PREFIX} 2>&1 | tee configure.log

Any ideas? I guess I could try building with hard floats to see what
happens.

/TS





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]