Re: Kernel GCC Optimizations

folkert@vanheusden.com
Sat, 21 Dec 2002 23:13:22 +0100 (CET)


> > Is there any risk using -O3 instead of -O2 to compile the kernel, and why?
> > Also what about compiling against glibc 2.3.1 and gcc 3.2.x??
> I believe because of some assembler stuff that needs to be compiled as is and
> may not be optimized more that -O2 you cannot use -O3.

Then selective compile with -O2 or -O6? Like; everything with assembly in
it with -O2 and the rest with -O6.

Folkert
www.vanheusden.com/Linux

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/