Hi > i have use the crosstool to try,but i get a > "#error "glibc cannot be compiled without optimization" > what CFLAGS and CXXFLAGS should to set in demo-mipsel.sh If you mean mipsel.dat then I have this defined: KERNELCONFIG=`pwd`/mipsel.config TARGET=mipsel-linux TARGET_CFLAGS="-O2 -finline-limit=10000" GCC_EXTRA_CONFIG="--with-float=soft" GLIBC_EXTRA_CONFIG="--without-fp" BINUTILS_EXTRA_CONFIG="--enable-shared" Note, I have additional patches for "real SF". I have no flags set in demo-mipsel.sh BR, Matej