This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Compiling without Optimization

[Get raw message]
     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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]