So, I managed to get glibc-2.4 installed and everything works fine except for a compile error I've been getting when I build gcc-4.1.0.
Here is the error:
Code:
ranlib ./libgcov.a
./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -L/home/tom/build/gccobj/gcc/../ld -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-4.1.0/gcc -I../../gcc-4.1.0/gcc/. -I../../gcc-4.1.0/gcc/../include -I../../gcc-4.1.0/gcc/../libcpp/include -fexceptions -fvisibility=hidden -DHIDE_EXPORTS -c ../../gcc-4.1.0/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -L/home/tom/build/gccobj/gcc/../ld -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-4.1.0/gcc -I../../gcc-4.1.0/gcc/. -I../../gcc-4.1.0/gcc/../include -I../../gcc-4.1.0/gcc/../libcpp/include -fexceptions -fvisibility=hidden -DHIDE_EXPORTS -c ../../gcc-4.1.0/gcc/unwind-dw2-fde-glibc.c -o libgcc/./unwind-dw2-fde-glibc.o
In file included from ../../gcc-4.1.0/gcc/unwind-dw2-fde-glibc.c:62:
../../gcc-4.1.0/gcc/unwind-dw2-fde.c:53: warning: missing braces around initializer
../../gcc-4.1.0/gcc/unwind-dw2-fde.c:53: warning: (near initialization for 'object_mutex.__data')
../../gcc-4.1.0/gcc/unwind-dw2-fde.c:53: error: '__LOCK_INITIALIZER' undeclared here (not in a function)
../../gcc-4.1.0/gcc/unwind-dw2-fde.c:53: warning: missing initializer
../../gcc-4.1.0/gcc/unwind-dw2-fde.c:53: warning: (near initialization for 'object_mutex.__data.__nusers')
make[3]: *** [libgcc/./unwind-dw2-fde-glibc.o] Error 1
make[3]: Leaving directory `/home/tom/build/gccobj/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/home/tom/build/gccobj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/tom/build/gccobj/gcc'
make: *** [bootstrap-lean] Error 2
Has any else attempted building gcc-4.1.0 on a system with glibc-2.4 already installed? If so, have you had any success?
Peace...