[Celinux-dev] Kernel patches for compiler based size reduction

Hiroki Kaminaga kaminaga at sm.sony.co.jp
Mon Aug 28 18:57:24 PDT 2006


From: Tim Bird <tim.bird at am.sony.com>
> For those of you interested in kernel size, David Woodhouse
> has posted some information and patches for using compiler
> flags for code reduction in the kernel.  Specifically,
> he is using the GCC -combine and -fwhole-program flags to
> reduce the kernel code size.

I believe --combine and -fwhole-program is introduced in gcc-4.1 series?
http://gcc.gnu.org/gcc-4.1/changes.html

----
/*
 * Hiroki Kaminaga
 * Sony Corporation
 * Email: kaminaga at sm.sony.co.jp
 * Phone: (inner line) ? "9-333-3703" : "03-5435-3703";
 */


More information about the Celinux-dev mailing list