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]

Difficulty building stage 1 MIPS cross compiler from CVS...


Greetings.

I'm trying to build a MIPS cross toolchain and it's been a while
since I built it out of CVS. Here's my configuration line:

AR=mipsel-linux-ar RANLIB=mipsel-linux-ranlib ../gcc-20020110/configure --prefix
=/opt/toolchains/mips --target=mipsel-linux i686-pc-linux-gnu --with-newlib --di
sable-shared --enable-languages=c

After compiling for a while I get:

if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/opt/build-gcc/gcc/xgcc -B/opt/build-gcc/gcc/ -B/opt/toolchains/mips/mipsel-linu
x/bin/ -B/opt/toolchains/mips/mipsel-linux/lib/ -isystem /opt/toolchains/mips/mi
psel-linux/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wst
rict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1  -DIN_LIBGCC2
 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-20020110/gcc -I../.
./gcc-20020110/gcc/. -I../../gcc-20020110/gcc/config -I../../gcc-20020110/gcc/..
/include -fexceptions -c ../../gcc-20020110/gcc/unwind-dw2-fde-glibc.c -o libgcc
/./unwind-dw2-fde-glibc.o
../../gcc-20020110/gcc/unwind-dw2-fde-glibc.c:35:20: stdlib.h: No such file or d
irectory
In file included from ../../gcc-20020110/gcc/unwind-dw2-fde-glibc.c:41:
../../gcc-20020110/gcc/unwind-pe.h: In function `size_of_encoded_value':
../../gcc-20020110/gcc/unwind-pe.h:76: warning: implicit declaration of function
 `abort'
In file included from ../../gcc-20020110/gcc/unwind-dw2-fde-glibc.c:292:
../../gcc-20020110/gcc/unwind-dw2-fde.c: In function `get_cie_encoding':
../../gcc-20020110/gcc/unwind-dw2-fde.c:271: warning: implicit declaration of fu
nction `strlen'
make[2]: *** [libgcc/./unwind-dw2-fde-glibc.o] Error 1
make[2]: Leaving directory `/opt/build-gcc/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/opt/build-gcc/gcc'
make: *** [all-gcc] Error 2

It appears that in 'gcc/config/t-linux' we enable the compilation of
the above unit, but it isn't going to bloody work for obvious reasons
as glibc hasn't even been built yet. What special configure option am
I supposed to use to mitigate this? Thanks.

-Steve

-- 
 Steven J. Hill - Embedded SW Engineer


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