On 12/22/05, Matej Kupljen <matej.kupljen@xxxxxxxx> wrote: > 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 > > thanks, another question: do you change the demo-mipsel.sh to eval another sh or just keep the eval `cat mipsel.dat gcc-3.4.2-glibc-2.2.5.dat` sh all.sh --notest Best Regards zhuzhenhua