Subject: Re: CFLAGS
To: Peter Seebach <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 11/08/2007 20:07:17
On Thu, Nov 08, 2007 at 10:02:31AM -0600, Peter Seebach wrote:
> In message <email@example.com>, "Zafe
> r Aydogan" writes:
> >Hello list,
> >setting CFLAGS=-g -march=i686 in /etc/mk.conf blows my kernel from
> >3.5 MB to 21 MB.
> >Any ideas ?
> Er, uhm.
> What did you expect?
> "I stepped on the brakes, and my car stopped!"
> "I inflated something, and it got bigger!"
> "I added complete debugging symbols to a binary, and it got bigger!"
You forgot "I turned off the optimiser".
David Laight: firstname.lastname@example.org