http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54504
--- Comment #6 from progmei <progmei at 163 dot com> 2012-09-07 06:35:41 UTC --- I've tried to use sysroot option, but I compile the GCC failed. ../gcc-4.7.1/configure --prefix=/repo/yuhuamei/mips-linux-eglibc-gnu --target=mips-linux --with-ppl=/repo/yuhuamei/ppl --with-cloog=/repo/yuhuamei/cloog-ppl --enable-__cxa_atexit --enable-languages=c,c++ --with-sysroot=/repo/yuhuamei/mips-linux-eglibc-gnu /repo/yuhuamei/mips-linux-eglibc-gnu/mips-linux/bin/ld: cannot find /repo/yuhuamei/mips-linux-eglibc-gnu/mips-linux/lib/libc.so.6 inside /repo/yuhuamei/gccobjdir/gcc/../../mips-linux-eglibc-gnu /repo/yuhuamei/mips-linux-eglibc-gnu/mips-linux/bin/ld: cannot find /repo/yuhuamei/mips-linux-eglibc-gnu/mips-linux/lib/libc_nonshared.a inside /repo/yuhuamei/gccobjdir/gcc/../../mips-linux-eglibc-gnu /repo/yuhuamei/mips-linux-eglibc-gnu/mips-linux/bin/ld: cannot find /repo/yuhuamei/mips-linux-eglibc-gnu/mips-linux/lib/ld.so.1 inside /repo/yuhuamei/gccobjdir/gcc/../../mips-linux-eglibc-gnu