Eric Fisher wrote:
/src/gcc-3.2.1/configure --target=mipsel-elf \
 --prefix=/gnutools --enable-languages=c,c++ \
 --with-gnu-as --with-gnu-ld --with-newlib \
--without-headers --disable-shared --disable-threads
Build and install GCC

make
Wrong command, use 'make all-gcc ; make install-gcc', then
configure, build and install newlib, then continue with 'make'!
then it shows the error:

/src/gcc-3.2.1/libiberty/regex.c: At top level:
/src/gcc-3.2.1/libiberty/regex.c:7959: error: storage size of
`re_comp_buf' isn't known
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/tmp/build/gcc/mipsel-elf/libiberty'
Can you guess whether producing newlib needs the newlib headers?
Producing 'libiberty' and 'libstdc++' to be in sync with the newlib?
Your choice is either having the newlib headers available or then
trying to  avoid them via the '--without-headers',  but then you will
get "only GCC" :-(

Reply via email to