On 12/22/05, Stephen P. Becker <geoman@xxxxxxxxxx> wrote: > > 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 > > > > BR, > > zhuzhenhua > > > Do you only want to build kernels, or do you want to build userland > stuff also? You have indicated the former, but not the latter, in which > case you really only need binutils and gcc (a static, C-only bootstrap > gcc works fine for compiling a kernel). > > -Steve > sorry to not discribe clearly, i want to build the toolchain both for kernel nand userland stuff. and i succeed now using the crosstool with Matej Kupljen's advices. thanks all! best regards zhuzhenhua