Re: [ACPI] ACPI mentioned on lwn.net/kernel

From: Andi Kleen (ak@suse.de)
Date: Sat Jan 26 2002 - 17:43:42 EST


"Martin Eriksson" <nitrax@giron.wox.org> writes:

> -CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
> +CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -Os \
> -fomit-frame-pointer -fno-strict-aliasing -fno-common
> AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)

You should remove the -malign-* options in arch/i386/Makefile too.
Most of -Os win normally comes from doing less aggressive padding,
but the kernel overrides this.

Also gcc 3.0 and gcc 3.1-snapshots should be somewhat better at
implementing -Os.

-Andi
-
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/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:00:41 EST