This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

a problem when building gcc3.2.1


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.


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