Messages in this thread | | | Subject | Re: do u get better performance from optimizing the code | From | (Måns Rullgård) | Date | 15 May 2002 15:52:14 +0200 |
| |
"Kingsley Foreman" <kingsley@uglypunk.com> writes:
> just out of curiosity will the kernel perform better if you > change the optimizations using C++ eg use -O9 or something during compile
The kernel is written in C, so don't use a C++ compiler. GCC has four levels of optimization: 0 = nothing 1 = -O, simple things 2 = some more 3 = function inlining etc.
Anyting >3 is treated as 3.
-- Måns Rullgård mru@users.sf.net - 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/
| |