Subject: Re: CFLAGS
To: Peter Seebach <seebs@seebs.net>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 11/08/2007 20:07:17
On Thu, Nov 08, 2007 at 10:02:31AM -0600, Peter Seebach wrote:
> In message <274190120711080727g4d08df43v9fdaa7bb7e2e0abc@mail.gmail.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

-- 
David Laight: david@l8s.co.uk