Re: Minimizing the Kernel

From: Timothy Miller
Date: Wed Sep 24 2003 - 17:39:14 EST




Andrzej Krzysztofowicz wrote:
Well for starters dont use gcc 3 or above.. code size has increased
dramatically with thoose versions. sure they give you more optimization

Hmm, has anyone tried -Os with gcc3+ ?
Maybe that'd be good for size optimization?


AFAIK, the -Os optimization in gcc3 gives you larger binary than -Os in
gcc2.


Any ideas why? I mean, what does all the extra code DO?

And have you considered that some of that extra code might be there for correctness purposes?

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