From: Bryan R. <br...@ix...> - 2001-01-05 05:04:05
|
Denis Dowling wrote: > I have been working with the new toolchain for a couple of weeks now so > I can answer some of your questions. Much obliged. :) > The CVS repository is out of date for the tool chain. You need to get a > recent binutils, gcc and glibc from CVS. hm. I assume the first CVS here means the LinuxSH CVS archive on sourceforge. Your final "CVS" refers to the upstream GNU CVS servers?? > No detailed instructions yet. I managed to pull this all together from > the mailing list and the web. Alright, I will browse over the mailing list archive (which I just remembered exists, apologies for not using it prior). Which web resources did you find useful? > If you want I can send you my patches to gcc-20001120, binutils-001210 > and glibc2.2? That would be great. I got binutils-001005 (from m17n) to build but -001210 looks newer. Using binutils-001005, I am having trouble getting gcc-200001120 to build: --- make[2]: Entering directory `/home/bryan/src/newtoolchain/gcc-sh-linux/sh-linux-gnu/zlib' /bin/sh ./libtool --mode=compile /home/bryan/src/newtoolchain/gcc-sh-linux/gcc/xgcc -B/home/bryan/src/newtoolchain/gcc-sh-linux/gcc/ -B/usr/local/sh/sh-linux-gnu/bin/ -B/usr/local/sh/sh-linux-gnu/lib/ -isystem /usr/local/sh/sh-linux-gnu/include -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I../../../gcc-sh-linux-20001120/zlib -g -O2 -c ../../../gcc-sh-linux-20001120/zlib/adler32.c mkdir .libs /home/bryan/src/newtoolchain/gcc-sh-linux/gcc/xgcc -B/home/bryan/src/newtoolchain/gcc-sh-linux/gcc/ -B/usr/local/sh/sh-linux-gnu/bin/ -B/usr/local/sh/sh-linux-gnu/lib/ -isystem /usr/local/sh/sh-linux-gnu/include -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I../../../gcc-sh-linux-20001120/zlib -g -O2 -c ../../../gcc-sh-linux-20001120/zlib/adler32.c -fPIC -DPIC -o .libs/adler32.o In file included from ../../../gcc-sh-linux-20001120/zlib/zlib.h:34, from ../../../gcc-sh-linux-20001120/zlib/adler32.c:7: ../../../gcc-sh-linux-20001120/zlib/zconf.h:239:41: sys/types.h: No such file or directory ../../../gcc-sh-linux-20001120/zlib/zconf.h:240:52: unistd.h: No such file or directory ../../../gcc-sh-linux-20001120/zlib/zlib.h:757: parse error before "gzseek" ../../../gcc-sh-linux-20001120/zlib/zlib.h:757: parse error before "off_t" ../../../gcc-sh-linux-20001120/zlib/zlib.h:758: warning: data definition has no type or storage class ../../../gcc-sh-linux-20001120/zlib/zlib.h:782: parse error before "gztell" ../../../gcc-sh-linux-20001120/zlib/zlib.h:782: warning: data definition has no type or storage class make[2]: *** [adler32.lo] Error 1 make[2]: Leaving directory `/home/bryan/src/newtoolchain/gcc-sh-linux/sh-linux-gnu/zlib' make[1]: *** [all-target-zlib] Error 2 make[1]: Leaving directory `/home/bryan/src/newtoolchain/gcc-sh-linux' make: *** [cross] Error 2 --- This is after a binutils: configure --target=sh-linux-gnu --prefix=/usr/local/sh make make install and a gcc: configure --target=sh-linux-gnu --prefix=/usr/local/sh make cross (I am using separate build and source directories for both binutils and gcc, as suggested) I saw a couple posts from a few days (weeks?) ago about disabling the zlib build... can you further enlighten me? I haven't even attempted glibc2.2 yet... but I would really appreciate any and all patches you found useful when getting this stuff up and running. Thanks for the (quick!) reply, Bryan -- Bryan Rittmeyer mailto:br...@ix... Ixia Communications 26601 W. Agoura Rd. Calabasas, CA 91302 |