Compiling without Optimization

saulat.zuberi@st.com saulat.zuberi@st.com
Fri Nov 2 21:27:00 GMT 2001


     Could anyone please let me know how to compile linux kernel 2.4.2 
     without optimization? I tried changing the -O2 to -O0 in the Makefile 
     but It didn't compile giving error that "Can't find a register in 
     class 'GENERAL_REGS' while reloading 'asm' in function schedule in 
     sched.o which is in kernel directory."
     
     I even tried without giving any -O option but I received the same 
     error.
     
     Thanks,
     Saulat Zuberi.



More information about the Gcc-help mailing list