This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Compiling without Optimization
- To: gcc-help at gcc dot gnu dot org
- Subject: Compiling without Optimization
- From: saulat dot zuberi at st dot com
- Date: Tue, 13 Nov 2001 15:53:08 -0600
[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.