By the way, my config options are configure --cache-file=./config.cache --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-linux5.0 --prefix=/opt/toolchain/lin32/gcc-4.1.2-9 --disable-nls --enable-shared --enable-threads=posix --with-gnu-as --with-gnu-ld --with-as=/opt/toolchain/lin32/binutils-2.17.50.0.15/bin/i686-linux5.0-as --with-ld=/opt/toolchain/lin32/binutils-2.17.50.0.15/bin/i686-linux5.0-ld --enable-__cxa_atexit --with-sysroot=/opt/toolchain/lin32/RHEL5 --enable-clocale=gnu --enable-languages=c,c++ --program-transform-name=s,^,i686-linux5.0-,; --srcdir=../../gcc-4.1.2/gcc --- On Sat, 4/10/10, john blair <mailtome200420032002@xxxxxxxxx> wrote: > From: john blair <mailtome200420032002@xxxxxxxxx> > Subject: cross compiling gcc : cannot represent machine i386 > To: gcc-help@xxxxxxxxxxx > Date: Saturday, April 10, 2010, 10:34 PM > I am trying to cross compile gcc > 4.1.2 with binutils-2.17.50.15 for RHEL5 machine and I am > getting > > /opt/toolchain/lin32/binutils-2.17.50.0.15/bin/i686-linux5.0-ld: > unable to find version dependency `GLIBC_2.0; > .... > /opt/toolchain/lin32/binutils-2.17.50.0.15/bin/i686-linux5.0-ld: > unable to find version dependency `GCC_3.0; > ..... > /opt/toolchain/lin32/binutils-2.17.50.0.15/bin/i686-linux5.0-ld: > cannot represent machine `i386) > ..... > > I have built the cross compiler for RHEL5 before > successfully, and am unable to figure out what is going > wrong this time. From the errors it looks like the problem > might be with the way binutils was built. > Any help or pointers will be very helpful. For the complete > error see http://pastebin.com/E7Gsx0px > > Thanks. > > > >