hi,
I configure GCC as follow:

PATH=/gnutools/bin:$PATH ; export PATH
mkdir -p /tmp/build/gcc
cd /tmp/build/gcc
/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

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'
make: *** [all-target-libiberty] Error 2
make: Leaving directory `/tmp/build/gcc'

what should i do?How to solve it?Thank you very much.

Reply via email to